| Branch: | Revision:

root / create @ 47c86659

History | View | Annotate | Download (4.9 kB)

# Date Author Comment
025dd949 06/14/2011 05:48 pm Nikos Skalkotos

Fixed a bug in create

Partition existence check code in create did not work correct because of
the absence of " around the variables in the if expressions.

e9568fe9 06/14/2011 12:04 pm Nikos Skalkotos

Added a partition existence check in create.

a33d2ab2 06/10/2011 11:36 am Nikos Skalkotos

Added basic windows support

Added support for windows disk partitioning and ntfsclone's special
image format. A hook was also added that installs a valid MBR capable of
booting windows partitions.

bb78ba49 06/09/2011 02:49 pm Nikos Skalkotos

Further seperation of linux-specific things.

Added prefix linux_ to all the functions `create'
accesses. This will keep things simple when the scripts are extended to
support more OS Families like Windows.

Moved all hooks to a seperate `linux' directory inside...

5dc61974 06/09/2011 12:10 pm Nikos Skalkotos

Moved linux specific functions out of

Created a seperated file `' to host all linux specific
common functions. This makes the design cleaner in order to add windows
support to gnt-instance-image.

Attention: I haven't touched export, import, rename and verify yet. Only...

47e547ca 05/27/2011 04:23 pm Nikos Skalkotos

Fixed support for recent Fedora images

Fixed a bug in the where the presence or absence of
`lsb_release' program inside the image was not properly detected.

Forced filesystem relabeling in the initial boot of a Fedora image.
This is needed by SELinux in recent Fedora releases, because in any other...

ab462591 05/20/2011 12:39 pm Constantinos Venetsanopoulos

Initial commit to extend ganeti-instance-image

Ganeti Instance Image will be extended to support
Ganeti OS Interface v20. The scope is to have an OS provider
that takes OS parameters from Ganeti and then uses them to customize
the Image creation process. The initial commit includes:...

b8a540bb 03/26/2011 01:13 am Lance Albertson

add time for the system to settle

c247694b 03/26/2011 01:12 am Lance Albertson

They don't even get sent since we have set -e set

Revert "add sanity checks for uuids"

This reverts commit dbaeaa2e4d7b6858c6a5a9f97862892d9ebdba14.

dbaeaa2e 03/26/2011 01:06 am Lance Albertson

add sanity checks for uuids

Sometimes the uuid's don't get set or found properly

78422bb3 03/25/2011 07:45 pm Lance Albertson

Reduce normal commands output by redirecting to /dev/null

Much of the commands we run (i.e. mkfs, mkswap, sfdisk) produce output that
isn't really needed.

8727c57d 11/25/2010 04:40 am Lance Albertson

Ticket #219: Add NOMOUNT option to allow Windows install

Use included patch but extend to import, export, and rename scripts. For now
rename does nothing since we have no way of knowing what the image might be
(windows, linux, etc).

c2fca018 03/09/2010 09:15 pm Lance Albertson

Fix logic for when to install grub

9f4b2c31 02/12/2010 01:05 am Lance Albertson

Add support for setting up the console automatically

0d9031a6 02/11/2010 01:14 am Lance Albertson

local can only be used in functions

3903b7f1 02/11/2010 12:48 am Lance Albertson

Add support for setting up /etc/fstab properly

494927a8 02/11/2010 12:07 am Lance Albertson

Fix dynamic partition to use its own function

I discovered that bash wasn't setting the environment variables correctly and
realized I need to refactor how I do this. Now I have a map_partition to figure
out the exact path for a specific partition.

NOTE: fstabs are currently broken because of this addition

77449e7c 02/10/2010 08:12 pm Lance Albertson

Add optional support for no /boot partition

Allow for more flexibility for which partitions you need or what. It will allow
for four different partition layouts depending on whether you want a swap
partition or booting a kernel outside of the VM.

Also merge the partition mapping for root_dev, boot_dev, & swap_dev entirely...

640e7e45 02/10/2010 02:06 am Lance Albertson

Add initial support for dump/restore based images

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

Refactor debugging code to be saner and actually work

6f0a1fef 02/04/2010 08:05 pm Lance Albertson

Move debug check until after we've sourced

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

Move mkfs into so that its portable to other scripts

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

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

f1afb4b1 02/03/2010 08:23 pm Lance Albertson

Add OSU Copyright headers

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.


e84e87cd 02/02/2010 11:50 pm Lance Albertson

If debug is set, show commands in log file

baca98f3 02/02/2010 08:58 pm Lance Albertson

Adjust image naming scheme to deal with qemu-img image files

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

Check for qemu-img during install

916b6dd1 02/02/2010 02:14 am Lance Albertson

change variable name to something more useful

c29e092d 02/02/2010 02:13 am Lance Albertson

fix typo

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

Make it optional whether to create and use a swap partition

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

768954ef 11/29/2009 07:34 am Lance Albertson

Set the $disk variable up

df2ac746 11/29/2009 07:33 am Lance Albertson

Remove extra whitespace, errors out otherwise

2a3ba2bf 11/29/2009 07:18 am Lance Albertson

Add volume label so that CentOS boots

May need to see how other distros need adjustments

89991658 11/29/2009 07:03 am Lance Albertson

Use grub directly to install MBR as grub-install won't work correctly

e5ec11e4 11/28/2009 10:45 pm Lance Albertson

Add support for installing grub for an image

135a14d0 11/28/2009 10:23 pm Lance Albertson

Put umount cleanup command in the correct place

12321cb5 11/28/2009 10:18 pm Lance Albertson

Create $TMPDIR/boot after mounting root

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

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