Statistics
| Branch: | Revision:

root @ master

# Date Author Comment
9de1ad3b 10/06/2011 11:32 am Nikos Skalkotos

Fix a bug in hostname hook

992241a7 10/06/2011 11:32 am Nikos Skalkotos

Update the AUTHORS file

489cbbdf 09/16/2011 01:45 pm Nikos Skalkotos

Add an image file existence check

eb591cce 09/12/2011 05:18 pm Constantinos Venetsanopoulos

Remove duplicate data in debian package

29a4e94d 09/12/2011 05:02 pm Constantinos Venetsanopoulos

Change package source name

af36730c 09/12/2011 03:47 pm Constantinos Venetsanopoulos

Change debian package name

Change debian package name to snf-ganeti-instance-image

67767406 09/12/2011 11:13 am Nikos Skalkotos

Fix typo in snf-passtohash.py input option

812acd5c 09/12/2011 10:55 am Nikos Skalkotos

Rename root_passwd hook to passwd

The new name is better, since this hook also updates user passwords in
some cases.

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.

b1aa6976 09/07/2011 06:07 pm Nikos Skalkotos

Beautify snf-passtohash.py

  • Make the program output simple error messages instead of exeption
    when fatal errors occur.
  • Let the Option Parser deal with incorrect option values.
  • Since the password is alway needed, make it an input argument instead...
8fd0a36c 09/07/2011 05:49 pm Nikos Skalkotos

Do not setup fstab on extdump images

2fdc766d 09/06/2011 05:24 pm Constantinos Venetsanopoulos

Make debian package arch independent

  • Fix debian/rules file
  • Adjust architecture to 'all' in debian/control
d4d9f7c9 09/06/2011 01:23 pm Nikos Skalkotos

Set default value for SWAP variable to `no'

0f5ad407 09/06/2011 01:20 pm Nikos Skalkotos

Merge branch 'win-support' of https://code.grnet.gr/git/gnt-instance-image into win-support

18b32a21 09/06/2011 01:17 pm Nikos Skalkotos

Fix the default value for INSTALL_MBR in common.sh

The default value was errorously hard-coded to install_mbr instead of
install-mbr

8094a2f2 09/06/2011 01:14 pm Nikos Skalkotos

Set x86_64 as the default value for ARCH

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

Fix grub installation when using a swap partition

a5a25498 09/05/2011 06:13 pm Constantinos Venetsanopoulos

Debian packaging `rules' file improvements

15c4714a 09/05/2011 05:40 pm Constantinos Venetsanopoulos

Fixes in debian packaging

  • Add the source/format file (3.0 native)
  • Switch from deprecated dh_clean -k to dh_prep
ab9b1a53 09/05/2011 05:18 pm Constantinos Venetsanopoulos

Make all installed hooks executable in deb package

ad156497 09/05/2011 04:39 pm Constantinos Venetsanopoulos

Revert previous commit 914161e5ef

914161e5 09/05/2011 04:01 pm Constantinos Venetsanopoulos

Minor fix in debian/rules

ca359e81 09/05/2011 03:55 pm Constantinos Venetsanopoulos

Preserve the NEWS file even thought it's empty

2c5ce19f 09/05/2011 03:48 pm Constantinos Venetsanopoulos

Debian package shouldn't include the COPYING file

900c6f61 09/05/2011 03:31 pm Constantinos Venetsanopoulos

Fixes in debian/control

9eaba0d0 09/05/2011 02:55 pm Constantinos Venetsanopoulos

Machine readable debian/copyright

Rewrite debian/copyright to adjust to debian-policy
http://dep.debian.net/deps/dep5

b8ecd51e 09/05/2011 12:26 pm Nikos Skalkotos

Merge branch 'win-support' of https://code.grnet.gr/git/gnt-instance-image into win-support

3867dbc3 09/05/2011 12:00 pm Nikos Skalkotos

Search for mount.ntfs not ntfsmount in configure

The latter is part of the ntfs-3g package.

68f0eeb4 09/05/2011 11:56 am Nikos Skalkotos

Remove full-paths for detected progs in common.sh

The configuration script checks for the existence of the needed programs
but does not hard-code their full path in common.sh.

49793bff 09/05/2011 11:11 am Constantinos Venetsanopoulos

Change debian dependency: ntfsprogs --> ntfs-3g

be2fd812 09/02/2011 04:43 pm Constantinos Venetsanopoulos

Fix package name in rules file in debian packaging

f3ae8208 09/02/2011 01:35 pm Constantinos Venetsanopoulos

Fix path and reset name in debian packaging info

4f5a7229 09/01/2011 05:23 pm Constantinos Venetsanopoulos

Fix dependencies in debian packaging info

d8cf536d 09/01/2011 01:57 pm Constantinos Venetsanopoulos

Minor fixes in debian packaging info

a67aa890 09/01/2011 12:53 pm Constantinos Venetsanopoulos

Update debian packaging information

  • Rename package to gnt-instance-image
  • Update source info and dependencies
  • Configure package with-progress-monitor
  • Update copyright notice
e5c643a8 09/01/2011 12:03 pm Nikos Skalkotos

Include program paths in the `defaults' file.

This way, the users can overwrite those paths without having to make
changes to the installed scripts.

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.

5d258745 08/04/2011 07:03 pm Nikos Skalkotos

Remove redundant toolsbuilddir target in Makefile

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

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