Statistics
| Branch: | Revision:

root / common.sh.in @ 640e7e45

History | View | Annotate | Download (7 kB)

# Date Author Comment
70054ca5 02/06/2010 01:36 am Lance Albertson

add -f to mkswap to remove warning message

f0ce6e5a 02/05/2010 02:49 am Lance Albertson

Make regex more clear and only do this on the end of the string

e7a2d1ad 02/05/2010 01:59 am Lance Albertson

Refactor debugging code to be saner and actually work

103d261e 02/03/2010 11:56 pm Lance Albertson

Add VOL_ID and VOL_TYPE back for export

cc927a76 02/03/2010 11:47 pm Lance Albertson

Move mkfs into common.sh so that its portable to other scripts

f6f223b8 02/03/2010 11:30 pm Lance Albertson

Move OS detection to common.sh to make it portable for other scripts

Also refactor how we use it in interfaces

e0f1ce56 02/03/2010 11:09 pm Lance Albertson

code cleanup, remove bits we don't use from the debootstrap import

611fa6b0 02/03/2010 08:18 pm Lance Albertson

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 at
least use something.

[1] http://groups.google.com/group/ganeti/browse_thread/thread/948ec6705ae69798

ab712029 02/02/2010 08:50 pm Lance Albertson

Check for qemu-img during install

e21b8802 02/02/2010 02:12 am Lance Albertson

Make it optional whether to create and use a swap partition

3173a4bc 02/02/2010 02:05 am Lance Albertson

rename variable to something more useful

f7959feb 02/02/2010 01:53 am Lance Albertson

Refactor grub install into a custom script

We only need to use grub for tarball based installs since images should include
a disk with grub already installed.

b05b1ab6 02/01/2010 10:02 pm Lance Albertson

Add basic support for qemu-img based images

Also refactor mounting into a common function

2e0988ec 01/31/2010 07:22 am Lance Albertson

allow for the location of IMAGE_DIR to be changed by the user

f5aa7725 01/31/2010 06:30 am Lance Albertson

fix paths for variants

25135be9 11/28/2009 10:16 pm Lance Albertson

Check to make sure the first partition exists

240140b7 11/28/2009 10:15 pm Lance Albertson

Use correct env variable for memory

c4661256 11/28/2009 03:48 am Lance Albertson

Add --with-defaults-dir option

Some distros don't use /etc/defaults

134c11c3 11/27/2009 11:56 pm Lance Albertson

Add image unpacking feature

a1d43218 11/27/2009 11:31 pm Lance Albertson

Format the 3 volumes and mount them correctly

22b570d6 11/27/2009 09:35 pm Lance Albertson

Create 3 partitions for /boot swap & / by default

fcce5224 11/25/2009 11:51 pm Lance Albertson

Add basic support for installing via a CD

dcd7b382 11/25/2009 11:41 pm Lance Albertson

remove caching code as its useless for this instance

8d0132dc 11/24/2009 02:51 am Lance Albertson

Check for various important programs and set variables for them

79224631 11/24/2009 02:15 am Lance Albertson

Import from instance-debootstrap 17b5b2da0