Hello,
We would like to achieve something like the following:
boot-start-marker
boot system bootflash:c2900-universalk9-mz.SPA.157-3.M8.bin -> new image
boot system bootflash:c2900-universalk9-mz.SPA.153-2.M7.bin -> old image
boot-end-marker
I edited the default Cisco 2921 firmware upgrade template

I have tried various variables for the old image e.g. ExistingImageName, but when I generate the script the output is the following:
config terminal
no boot system
boot system flash0:c2900-universalk9-mz.SPA.157-3.M8.bin
boot system ${ExistingImageName}
end
write memory
So, the question is what is the variable(parameter) for the old(existing) image of the router.
Thank you very much.