Statistics
| Branch: | Revision:

root @ e34560c8

# Date Author Comment
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

6335bfac 07/27/2011 05:17 pm Nikos Skalkotos

Fix default-dir replacement in common.sh

The path to the directory of hosts the DEFAULT_FILE in common.sh was not
replaced by make.

8fbf7acb 07/27/2011 04:51 pm Nikos Skalkotos

Fix build scripts

  • Fix osdir variable initialization in Makefile.am
  • Fix tools Makefile target
07459f8a 07/27/2011 03:46 pm Nikos Skalkotos

Ignore generated tools scripts

981845ed 07/26/2011 07:07 pm Nikos Skalkotos

Change user's password in fedora too.

6cccd4d3 07/25/2011 12:12 pm Nikos Skalkotos

Fix win-support var set in the new building system

3822d893 07/22/2011 04:20 pm Nikos Skalkotos

Fix paths in tools scripts during build

82ed4fad 07/22/2011 03:39 pm Nikos Skalkotos

Make build system support seperated builds

Prefix ${srcdir}/ in all dist_ files to make the package support
seperated builds (run the configure script from a different directory).

deaae996 07/22/2011 11:20 am Nikos Skalkotos

Fix autotools building system

  • A part of the building system is rewritten. The common.sh file
    shouldn't be created during the execution of the configuration script.
    In this phase, directory output variables are not expanded. Variables
    like `dataroodir' are expanded to `${prefix}/share', not...
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.

8a82096c 07/20/2011 06:25 pm Nikos Skalkotos

Assign the hostname to 127.0.1.1 in /etc/hosts

If /etc/hosts contains a line with IP address 127.0.1.1 then rewrite
this line and assign the hostname of the instance to this address. See
Section 10.4 in th Debian reference:
http://qref.sourceforge.net/Debian/reference/ch-gateway.en.html...

7be1e51e 07/20/2011 05:49 pm Nikos Skalkotos

Source common_linux.sh in the original linux hooks

We hadn't tested this hooks because we did not use them.

47dc6386 07/20/2011 02:05 pm Nikos Skalkotos

Add RESTORE variable to common.sh.in

This variable is automatically populated by configure. `create' script
uses this variable in order to find out the real path of restore program

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
aa661a7e 07/06/2011 06:28 pm Nikos Skalkotos

Force the use of 128 bytes inode size in ext?

This is needed by some GRUB legacy versions like the one shipped with
CentOS 5.x

f59332af 07/06/2011 06:07 pm Nikos Skalkotos

Update the linux common functions

In more detail:

  • Completely remove the use of lsb-release
  • Generalize the enforcement of filesystem autorelabeling to all the
    Redhat-derived OSs
cb9587b6 07/01/2011 04:26 pm Nikos Skalkotos

Support multiple users in root_password hook

The root_passwd hook can be used to change the password of multiple
users, not just root. We probably should also change the name of the
hook...

528c0efc 07/01/2011 03:27 pm Nikos Skalkotos

Add code to detect ubuntu os in get_os

Check /etc/lsb-release to detect ubuntu systems. Also remove
/usr/bin/lsb_release execution to detect os. There are systems like
Ubuntu Server that have an executable /usr/bin/lsb_release that does not
return usefull information and this makes os detection buggy.

01a3ce0b 06/23/2011 01:58 pm Nikos Skalkotos

Remove redundant echo windows hooks

3dc39969 06/22/2011 12:41 pm Nikos Skalkotos

Correct windows setup file

Correct in unattend.xml some configurations that did not work properly.
In more detail:

  • Move language and locale settings from specialize to oobeSystem pass.
    This is needed in order to skip the Regional Settings page of Windows...
2c94fd57 06/21/2011 04:03 pm Nikos Skalkotos

In windows remove Unattend.xml when setup finishes

In more detail, add a script that runs at the end of the setup and
removes C:\Unattend.xml

f9b42832 06/20/2011 05:40 pm Nikos Skalkotos

Change default windows color depth to 24bit

The Cirrus Logic GD5446 Video card emulator the kvm Hypervisor of ganeti
uses does not support 32bit color depth.

a1b18724 06/20/2011 01:22 pm Nikos Skalkotos

Add a hook to configure the hostname in windows

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...
a342dab5 06/16/2011 12:42 pm Nikos Skalkotos

Fixed windows support checks in common_windows.sh

6738cd80 06/16/2011 12:13 pm Nikos Skalkotos

Inserted a new BOOT variable in common.sh

This variable instructs ganeti-instance-image wheather or not to create
a boot partition in the instance creation process.

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

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

Merge git://git.osuosl.org/gitolite/ganeti/ganeti-instance-image

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

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

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.

[1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/543617

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