andsens / build-debian-cloud

This project has been superseeded by andsens/bootstrap-vz and is no longer maintained - Script to create Debian Squeeze & Wheezy Amazon Machine Images (AMIs) and Google Compute Engine images
Other
117 stars 43 forks source link

add info.root for chroot commands #132

Closed osallou closed 10 years ago

osallou commented 10 years ago

this patch adds info.root to image_commands to be able to do chroot commands in commands. Indeed this variable is not available in manifest

andsens commented 10 years ago

argh, of course. forgot about that one. wouldn't command = map(lambda part: part.format(root=info.root, **info.manifest_vars), raw_command) do it?

osallou commented 10 years ago

I am not a python syntax expert. I let you decide....

andsens commented 10 years ago

It works, fixed.