History | View | Annotate | Download (7 kB)
add -f to mkswap to remove warning message
Make regex more clear and only do this on the end of the string
Refactor debugging code to be saner and actually work
Add VOL_ID and VOL_TYPE back for export
Move mkfs into common.sh so that its portable to other scripts
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
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
Check for qemu-img during install
Make it optional whether to create and use a swap partition
rename variable to something more useful
Refactor grub install into a custom script
We only need to use grub for tarball based installs since images should includea disk with grub already installed.
Add basic support for qemu-img based images
Also refactor mounting into a common function
allow for the location of IMAGE_DIR to be changed by the user
fix paths for variants
Check to make sure the first partition exists
Use correct env variable for memory
Add --with-defaults-dir option
Some distros don't use /etc/defaults
Add image unpacking feature
Format the 3 volumes and mount them correctly
Create 3 partitions for /boot swap & / by default
Add basic support for installing via a CD
remove caching code as its useless for this instance
Check for various important programs and set variables for them
Import from instance-debootstrap 17b5b2da0