Refactor debugging code to be saner and actually work
Move "main" actions below the functions so they know what they are
Setup grub (if enabled) during an import
Move OS detection to common.sh to make it portable for other scripts
Also refactor how we use it in interfaces
code cleanup, remove bits we don't use from the debootstrap import
Add OSU Copyright headers
Force exit on error
Don't remove keys if deploying a debian based image
Debian generates the host keys during the install phase and the init scriptdoesn't regenerate them if they don't exist and fail. So skip it for now onthese types of systems.
Create IMAGE_DEBUG variable to enable debugging output
DEBUG_LEVEL isn't working yet in ganeti [1], so lets add an option so we can atleast use something.
[1] http://groups.google.com/group/ganeti/browse_thread/thread/948ec6705ae69798
don't escape characters when setting up the network
View revisions
Also available in: Atom