Statistics
| Branch: | Revision:

root / create @ master

History | View | Annotate | Download (5.9 kB)

# Date Author Comment
489cbbdf 09/16/2011 01:45 pm Nikos Skalkotos

Add an image file existence check

9ecbf7ad 09/12/2011 10:13 am Nikos Skalkotos

Change tabs to spaces in newly added comments

a7fb0e60 09/09/2011 03:42 pm Constantinos Venetsanopoulos

Use direct I/O when copying the image with dd

Deploying an image file on a target block device is a streaming
copy operation. Enable the direct I/O flag on the output fd to
avoid polluting the host cache with useless data.

8fd0a36c 09/07/2011 05:49 pm Nikos Skalkotos

Do not setup fstab on extdump images

4fc88242 09/05/2011 07:02 pm Nikos Skalkotos

Fix grub installation when using a swap partition

e80710b6 08/30/2011 03:59 pm Nikos Skalkotos

Add support for extdump file format.

This file format like ntfsdump is a direct raw partition dump.

841111f0 08/29/2011 04:14 pm Nikos Skalkotos

Change long if/else with case

This makes the code more readable.

f812fe86 08/02/2011 03:16 pm Nikos Skalkotos

Add support for ntfsdumps

df47d312 07/29/2011 01:07 pm Nikos Skalkotos

Resize the ntfs partition from within Windows

This commit changes the way the ntfs volume is extended to cover the
the whole space of the partition it is hosted in. We now use
diskpart.exe during the Windows Setup process of the Windows guest
instead of using ntfsresize during the instance creation phase in the...

e34560c8 07/27/2011 07:25 pm Nikos Skalkotos

Workaround a race condition in restore

restore's -r option is dangerous, because the temporeary /tmp/rstdir* and
/tmp/rstmode* files it creates may be the same across different processes
leading to race conditions. We tried to workaround this by replacing in...

d55a2cc1 07/27/2011 06:03 pm Nikos Skalkotos

Fix progress monitor support check in create

58453ea9 07/27/2011 05:27 pm Nikos Skalkotos

Add support for progress-monitor

59aff5e7 07/21/2011 01:48 pm Nikos Skalkotos

Resize ntfs partition after restoring the image

ntfsclone does not resize the partition after it restores an ntfs image.
We need to execute ntfsresize afterwards.

8afaedb3 07/08/2011 07:10 pm Nikos Skalkotos

Add all needed dependencies in configure

Add checks for restore, ntfsclone, ntfsmount and install-mbr

970e7307 07/08/2011 03:52 pm Nikos Skalkotos

Various fixes for ntfsclone

  • Add code in configure.ac to automatically detect the existence of
    ntfsclone.
  • Redirect ntfsclone output to /dev/null. This helps performance but may
    also cause problems since errors are also printed to stdout by
    ntfsclone
8d77389f 06/20/2011 11:51 am Nikos Skalkotos

Add hook to set the hostname on linux instances

86ddc018 06/16/2011 06:29 pm Nikos Skalkotos

Add unattended setup support

In more detail:

  • Add unattend.xml file that is copied in the root directory of each
    windows instance before the first boot. This file is used to
    automatically configure some windows options in the setup
  • Add admin_passwd hook for assigning Administrator passwords...
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 common_linux.sh 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 common.sh

Created a seperated file `common_linux.sh' 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 common.sh 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 common.sh

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

Move mkfs into common.sh 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.

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

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