History | View | Annotate | Download (3.9 kB)
Move boot_dir higher, and fix TARGET variables
If the grub config is using UUID, ensure it gets updated
Other fixes include only skip setting up grub, don't skip setting up the serialstuff.
Tell sed to follow symlinks
Fix logic to be correct
Add proper console option to kernel options
Also fix grub-2.x so that it points to the correct file to munge, and also runupdate-grub once its done.
Add support for setting up serial consoles with grub
Only setup grub if there isn't a kernel set in kernel_path
Adjust logic for when to setup grub
Deciding when to setup grub is a pain depending on several situations. Ifyou're using tarball, you may or may not use a kernel outside of theinstall. But if you're importing/exporting, you are still in a similarsituation. This logic should fix it hopefully.
Fix logic which determines when to run grub by default
Refactor debugging code to be saner and actually work
Setup grub (if enabled) during an import
code cleanup, remove bits we don't use from the debootstrap import
Add OSU Copyright headers
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
If debug is set, show commands in log file
Remove GRUB_SETUP and just assume you only need this for tarball image types
rename to correct name