ext/instance-debootstrap.git
15 years agoSwitch indendation to two spaces
Iustin Pop [Fri, 4 Jul 2008 19:55:24 +0000]
Switch indendation to two spaces

Unify all indentation from one tab to two spaces.

Reviewed-by: imsnah

15 years agoRemove the ‘version’ file
Iustin Pop [Fri, 4 Jul 2008 19:47:12 +0000]
Remove the ‘version’ file

Since now the version is coded in configure.ac, the version file is
obsolete.

Reviewed-by: imsnah

15 years agoStart autogenerating the create script
Iustin Pop [Fri, 4 Jul 2008 19:45:54 +0000]
Start autogenerating the create script

This patch changes the create script to be autogenerated so that we can
use the configure-time variables.

Reviewed-by: imsnah

15 years agoStart autotool-ing the debootstrap instance
Iustin Pop [Tue, 1 Jul 2008 07:59:18 +0000]
Start autotool-ing the debootstrap instance

This patch is the start of changing the debootstrap instance to
autotools. Right now it only installs the existing code into
$datadir/ganeti/os/debootstrap, even though we still install only etch.

Reviewed-by: imsnah

15 years agoModify os scripts to mount file disks correctly
Manuel Franceschini [Mon, 30 Jun 2008 14:58:51 +0000]
Modify os scripts to mount file disks correctly

This patch adds a conditional statement before mounting the with -b
given device to detect if it is a block device or a regular file. In the
former case it mounts it regularly, in the latter it tries to mount it
via loopback device.

Reviewed-by: iustinp

15 years agoRename the debian-etch-debootstrap OS definition
Iustin Pop [Fri, 27 Jun 2008 15:32:21 +0000]
Rename the debian-etch-debootstrap OS definition

The current arrangement of the subversion tree is not good - the OS
definitions are treated differently from the ganeti core code, and
automatic operations against the tree are not as easy to do as if the
model would be the same.

This patch moves the trunk/os-scripts/debian-etch-debootstrap directory
to trunk/instance-debootstrap; the prefix 'instance' denotes this as an
OS definition, and we intend to make this OS more flexible so we drop
the debian and etch parts.

Reviewed-by: ultrotter, imsnah

16 years agoRemove .debs from the instance filesystem
Iustin Pop [Wed, 20 Feb 2008 10:29:32 +0000]
Remove .debs from the instance filesystem

This patch removes the .debs which were used in the debootstrap process
via a find and xargs invocation (as opposed to chroot $TMPDIR apt-get
clean).

The main reason for this is that:
  - we don't want the created cache to contain the debs (it's
    unreasonably larger than needed)
  - but we want an instance created with the cache to be the same as
    without cache

The patch also adds ‘-f’ to the rm and mv invocations which didn't have
it.

Reviewed-by: imsnah

16 years agoMake a new 0.4 release for debian-etch-debootstrap
Iustin Pop [Wed, 16 Jan 2008 12:40:37 +0000]
Make a new 0.4 release for debian-etch-debootstrap

This patch makes a new release of the debian-etch instance OS that adds
the instance renaming on import issue.

It also adds a NEWS file (which steals content from the README).

Reviewed-by: imsnah

16 years agoRemove generated network rules on instance import
Guido Trotter [Fri, 11 Jan 2008 12:07:52 +0000]
Remove generated network rules on instance import

udev generates rules to maintain the order of the network interfaces stable.
When importing an instance, though, its mac address may change, and networking
be broken. This patch removes the generated network rules file, making udev
create a new one after the first boot of an imported instance. This issue was
first spotted by Gunnar Wagenknecht.

Reviewed-by: iustinp

16 years agoImprove performance of the debian-etch-debootstrap OS
Iustin Pop [Wed, 28 Nov 2007 07:48:24 +0000]
Improve performance of the debian-etch-debootstrap OS

This patch enables the debian-etch-debootstrap instance to generate (and
subsequently use) a cache file on the first install. Because, even with
a very fast mirror, debootstrap itself is slow, saving the installed
image and afterwards just untar-ing that over the filesystem is much
faster.

The patch also adds a 'version' file so that users can see what they
have installed (maybe in the future we could use require this file so we
know what versions of the OS we have installed).

Reviewed-by: ultrotter

16 years agoUpdate debian-etch-debootstrap API version to 5
Iustin Pop [Tue, 18 Sep 2007 12:02:34 +0000]
Update debian-etch-debootstrap API version to 5

This updates this OS the API v5 by adding a rename operation.

Reviewed-by: imsnah

16 years agoCheckin the debian-etch-debootstrap os scripts
Iustin Pop [Thu, 30 Aug 2007 12:58:29 +0000]
Checkin the debian-etch-debootstrap os scripts

Reviewed-by: roman.marxer