No!!! It won't work!!!
If you hook up the packs in series the charger will see one 12 cell pack, or 14.4 volts. In order to push the current the charger would have to put out more than 17 volts. That charger would burn out.
If you hook up the packs in parallel it would take twice as long as it would to charge one pack, and one pack would overcharge before the charger would see the peak.
Charge one pack at a time. It will cost you much less in the long run.