Statistics
| Branch: | Revision:

root / example / hooks @ 981845ed

# Date Author Comment
981845ed 07/26/2011 07:07 pm Nikos Skalkotos

Change user's password in fedora too.

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.

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

Add all needed dependencies in configure

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

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

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

Remove redundant echo windows hooks

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

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

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

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.

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

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

use new variable

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

fix syntax error

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

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

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

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

Ticket #1737: Also delete .pub key files

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

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

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

Ticket #207: Copy files into instances using overlays

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

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