| Branch: | Revision:

root @ 47c86659

# Date Author Comment
47c86659 06/15/2011 06:51 pm Nikos Skalkotos

Added --disable-windows-support flag in configure

This is convinient since we introduced a new program dependency
(xmlstrlet) in ganeti-instance-image which is only needed for Windows.
xmlstrlet will be used by the Windows hooks to change setup options in...

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.

80972ed1 06/14/2011 02:31 pm Nikos Skalkotos

Marked windows hook files as config files in .spec

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

Added a partition existence check in create.

2222beb0 06/14/2011 10:39 am Nikos Skalkotos

Fixed a bug in a function

Function windows_filesystem_check() was empty causing a syntax error in
bash. Added a dummy echo line to overcame this...

31f11819 06/14/2011 09:50 am Nikos Skalkotos

Fixed a bug in cleanup

The bug had to do with getting errors in device-mapper about resources
being busy when trying to use "kpartx -d" in devices that hosted
previously unmounted ntfs partitions.

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...

9870171e 05/26/2011 11:39 am Constantinos Venetsanopoulos

Merge git://

6fa4aeee 05/26/2011 12:21 am Lance Albertson

Update version tags to 0.5.1

0747d6ac 05/26/2011 12:14 am Lance Albertson

Ticket #5685: Add support for baselayout-2.x on Gentoo guests

Also fixed a bug in rename for gentoo guests which had incorrect logic and a

93fa6b1e 05/25/2011 11:20 pm Lance Albertson

Ticket #4785: Set cache file to /dev/null to disable caching with blkid

We've had a constant problem with blkid not returning anything and thus erroring
out installs/reinstalls, etc. It was discovered that it cached this content by
default which was the root cause. Hopefully this will resolve that issue.

8e5449f1 05/25/2011 01:57 pm Constantinos Venetsanopoulos

Added the img_format OS parameter

95200771 05/24/2011 03:33 pm Constantinos Venetsanopoulos

Minor fixes in

dda3fd29 05/24/2011 02:40 pm Constantinos Venetsanopoulos

Fixes in root_passwd script

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:...

5178b88b 04/01/2011 09:15 pm Lance Albertson

Update spec file for new version

e39576a6 04/01/2011 08:56 pm Lance Albertson

Update debian build scripts * Fix qemu dep * Update maintainer to be me * Version bump

b44bd116 04/01/2011 08:54 pm Lance Albertson

Ignore debian temp build files

39f9ff5b 03/26/2011 01:40 am Lance Albertson

Mention hooks directory change

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

b6ccd2b4 03/26/2011 01:05 am Lance Albertson

use new variable

d9679ad7 03/26/2011 12:50 am Lance Albertson

fix syntax error

6ff189ec 03/25/2011 07:56 pm Lance Albertson

Update changelog, prep for 0.5 release

139cbdf5 03/25/2011 07:53 pm Lance Albertson

Ticket #3855: New hook for properly setting DHCP clients for DDNS

2146dd61 03/25/2011 07:50 pm Lance Albertson

Add "sync" after running mkfs/mkswap

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.

599b34d2 03/25/2011 01:59 am Lance Albertson

Ticket #3849: Fix Hostnames being set incorrectly on Debian/Ubuntu

c7603521 03/11/2011 02:28 am Lance Albertson

Ticket #2295: Improvements for installing on Debian Lenny

99efa839 03/11/2011 02:23 am Lance Albertson

Ticket #3687: Add --DOS flag to give better support for grub2

241fb6e1 03/11/2011 01:59 am Lance Albertson

Ticket #1737: Also delete .pub key files

828670a1 03/11/2011 01:30 am Lance Albertson

Ticket #669: set CDINSTALL=no for default behaviour

83edc99e 03/11/2011 01:16 am Lance Albertson

Ticket #243: Add support for resetting the ssh host keys in Debian/Ubuntu

c6d45f5f 02/22/2011 02:03 am Lance Albertson

fix syntax error

0bde4a2a 02/12/2011 02:07 am Lance Albertson

Add sleep 2 call after mkfs

During re-installs using ext4, we need to give the system a little time after a
mkfs call. Otherwise blkid will not be able to get the UUID sometimes.

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).

af758a63 11/25/2010 04:40 am Lance Albertson

fix syntax error

6bea612e 11/25/2010 04:35 am Lance Albertson

Ticket #1767 add /usr/sbin and /sbin to paths

64018e9c 11/23/2010 12:00 am Lance Albertson

Ticket #939: add rpm spec file

84472880 11/22/2010 01:15 am Lance Albertson

Ticket #207: Copy files into instances using overlays

9014a39d 11/22/2010 01:15 am Lance Albertson

Ticket #1749: Fix IMAGE_DEBUG to accept "yes" for enabling the feature

9cdb305c 09/08/2010 01:48 am Lance Albertson

fix typo mentioned in Issue #99 and rename defaults -> default

e1f62f2d 09/08/2010 01:28 am Lance Albertson

Include debian package files for building deps (Issue #93)

Thanks to Ed Lim for the patch!

549118f0 09/08/2010 01:20 am Lance Albertson

Change the customization directory

Align with other upstream packages. See commit f79e471d in instance-debootstrap
for more explaination.

c142f9cf 06/20/2010 03:42 am Lance Albertson

example kickstart/preseed files

928de7e8 05/23/2010 02:44 am Lance Albertson

fix typo

564eaa79 05/07/2010 09:20 pm Lance Albertson

Release 0.4

251bf5a4 05/07/2010 09:14 pm Lance Albertson

update documentation

be751693 05/07/2010 07:48 pm Lance Albertson

switch default image type to dump

c40fd6ae 05/07/2010 07:04 pm Lance Albertson

misc fixes to grub settings

  • Fix the CMDLINE code for grub2 so that you can add additional arguments later
  • Enable showing of the hidden menu in grub2 so we can choose other kernels more easily
  • Add ability to add artibrary kernel boot args from a variant file...
c838e846 05/07/2010 06:53 pm Lance Albertson

Add partial grub2 support

We still cannot run update-grub inside of the chroot so all the settings we
changed will not be updated. Running update-grub after the instance is online
should fix this issue. I plan to open a bug to try and get this fixed upstream...

3e1d9348 04/13/2010 02:22 am Lance Albertson

Release 0.3.1

1c571a34 04/13/2010 02:07 am Lance Albertson

sync filesystems prior to umounting

There's an annoying upstream bug with ext4 currently that makes umount's take a
long time to complete [1]. Its also good practice to do this anyways.


6fc42d4e 04/03/2010 02:14 am Lance Albertson

check to make sure the device actually exists

6283359b 04/03/2010 12:53 am Lance Albertson

Release 0.3

6cee02d4 04/03/2010 12:50 am Lance Albertson

Add documentation for the new static IP feature

21136223 04/03/2010 12:25 am Lance Albertson

Move variants.list to /etc and create a symlink back to /usr/share

add6b6bf 04/01/2010 12:42 am Lance Albertson

fix typo

2566fc23 04/01/2010 12:38 am Lance Albertson

rename directory to hooks to line up with upstream

a04a3ce8 04/01/2010 12:30 am Lance Albertson

Fix typoes and missing closing fi's

7193962d 03/31/2010 08:52 pm Lance Albertson

add missing variable

276c74b6 03/31/2010 03:20 am Lance Albertson

Add support for setting IPs statically

e8343ddd 03/31/2010 12:24 am Lance Albertson

Release 0.2

c68199e5 03/31/2010 12:23 am Lance Albertson

Add and update changelog

4c96e490 03/30/2010 11:10 pm Lance Albertson

Add ability to set the filesystem to either ext3 or ext4

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

Add ability to manually set the size of the swap partition

cb8a342a 03/12/2010 12:19 am Lance Albertson

update gitignore

5fd109dc 03/12/2010 12:17 am Lance Albertson

Add AUTHORS file

3a58e5d7 03/12/2010 12:16 am Lance Albertson

Update documentation with dump details and other misc fixes

7ff088a6 03/10/2010 02:28 am Lance Albertson

cleanup kpartx after we're done

2f086264 03/10/2010 02:17 am Lance Albertson

Install the helper scripts into the instance os scripts directory under tools

2b851a1c 03/10/2010 02:05 am Lance Albertson

Add optional helper scripts for creating image dumps

0507e825 03/10/2010 01:20 am Lance Albertson

Add optional helper scripts for mounting nodes automatically

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

Fix logic for when to install grub

9d35a15e 03/09/2010 08:13 pm Lance Albertson

fix typo

1c9956c3 03/09/2010 07:47 pm Lance Albertson

disable grub2 support for now until a solution is found

230410df 03/09/2010 02:57 am Lance Albertson

fix regex to be more aggresive when fixing serial on ubuntu

8000c2d8 03/09/2010 02:49 am Lance Albertson

fix logic for when to install grub

07d32070 02/14/2010 12:39 am Lance Albertson

Fix grub installs for 2.x

  • Add functions for setting up grub devices in the chroot, and adding the file
  • Dynamically set the boot and root partition numbers since it changes
    depending on the layout
  • Add file for grub-2.x so that it works correctly
4a6ab93b 02/14/2010 12:04 am Lance Albertson

Merge branch 'master' of ssh://

13eb5d4c 02/14/2010 12:03 am Lance Albertson

Move boot_dir higher, and fix TARGET variables

0b56457d 02/13/2010 02:26 am Lance Albertson

deal with serial in karmic since it works differently

5edb4a94 02/13/2010 02:19 am Lance Albertson

If the grub config is using UUID, ensure it gets updated

Other fixes include only skip setting up grub, don't skip setting up the serial

49ae2760 02/13/2010 02:18 am Lance Albertson

fix the path for lsb_release

a3e24c37 02/12/2010 08:11 pm Lance Albertson

fix sed command

c3d1b43e 02/12/2010 08:07 pm Lance Albertson

Tell sed to follow symlinks

6f7ac139 02/12/2010 07:58 pm Lance Albertson

Use agetty instead of mingetty

ad81a23e 02/12/2010 07:45 pm Lance Albertson

Fix logic to be correct

a97ea696 02/12/2010 07:44 pm Lance Albertson

Use lsb_release inside of a chroot of the VM

0877f9c0 02/12/2010 07:40 pm Lance Albertson

use if fi statments otherwise it exits with 1 and fails

ecd82584 02/12/2010 03:29 am Lance Albertson

Add missing $target in setup_fstab for get_os_type

9404f8cd 02/12/2010 02:45 am Lance Albertson

Add proper console option to kernel options

Also fix grub-2.x so that it points to the correct file to munge, and also run
update-grub once its done.

91767b54 02/12/2010 01:23 am Lance Albertson

Add support for setting up serial consoles with grub

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

Add support for setting up the console automatically

abade4ea 02/12/2010 12:27 am Lance Albertson

Add get_os and get_os_release functions, refacter get_os_type

Returns the exact operating system

Returns the release of the operating system

Switch get_os_type to use an argument for the target location and also ensure
that it gets checked.

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

local can only be used in functions