History | View | Annotate | Download (3.5 kB)
local can only be used in functions
Add support for setting up /etc/fstab properly
Fix dynamic partition to use its own function
I discovered that bash wasn't setting the environment variables correctly andrealized I need to refactor how I do this. Now I have a map_partition to figureout the exact path for a specific partition.
NOTE: fstabs are currently broken because of this addition
Add optional support for no /boot partition
Allow for more flexibility for which partitions you need or what. It will allowfor four different partition layouts depending on whether you want a swappartition or booting a kernel outside of the VM.
Also merge the partition mapping for root_dev, boot_dev, & swap_dev entirely...
Add initial support for dump/restore based images
Refactor debugging code to be saner and actually work
Move debug check until after we've sourced common.sh
Move mkfs into common.sh so that its portable to other scripts
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
Adjust image naming scheme to deal with qemu-img image files
Check for qemu-img during install
change variable name to something more useful
fix typo
Make it optional whether to create and use a swap partition
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
Set the $disk variable up
Remove extra whitespace, errors out otherwise
Add volume label so that CentOS boots
May need to see how other distros need adjustments
Use grub directly to install MBR as grub-install won't work correctly
Add support for installing grub for an image
Put umount cleanup command in the correct place
Create $TMPDIR/boot after mounting root
Add image unpacking feature
Format the 3 volumes and mount them correctly
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