Some extra example hooks
[ext/instance-debootstrap.git] / NEWS
1 Version 0.9
2 -----------
3
4 Changed the default CUSTOMIZE_DIR (under $sysconfdir, usually /etc) from
5 ganeti/instance-debootstrap.d to ganeti/instance-debootstrap/hooks, to
6 match better with the directory used for the variants file. Now
7 customization of the instance-debootstrap is done either in the defaults
8 file or under ganeti/instance-debootstrap.
9
10 Fix serial console access for kvm instances (bind to ttyS0 rather than
11 console). Please note that with this change if you toggle the serial
12 console hypervisor parameter in Ganeti, but don't create the getty entry
13 in /etc/inittab or /etc/event.d/ you won't have serial access. Before it
14 used to work, but the serial console was slightly broken (no ctrl+c for
15 example).
16
17 Also start shipping the examples in the tar archive, to ease packaging.
18
19 Version 0.8
20 -----------
21
22 Added support for OS API 15 (with OS variants) that is supported by
23 Ganeti 2.1.
24
25 blktype is now supported as an alternative to vol_id; this is needed for
26 newer Debian-based operating systems.
27
28 Added an example grub script, that can be used for automatically
29 installing grub inside new instances.
30
31 Version 0.7
32 -----------
33
34 Fix Ganeti 1.2 compatibility (0.6 was broken) and force the scripts to be
35 executed under /bin/bash (rather than /bin/sh). This fixes compatibility with
36 distributions where /bin/sh is not bash.
37
38 Support 'msdos' partition style, in which the instance disk gets a partition
39 table, and one big partition, rather than creating the filesytem directly on
40 the block device. This requires kpartx to be installed, and is the default when
41 installing under Ganeti 2.0.
42
43 Added the possibility to customize the installation without having to patch the
44 os directly, by executing the scripts in CUSTOMIZE_DIR and giving them a chance
45 to change the instance filesystem. As an example a script that sets the first
46 nic to request a dhcp address is provided.
47
48 Version 0.6
49 -----------
50
51 Support for Ganeti 2.0 (os api 10)
52
53 The instance's fstab is now generated with volumes' UUIDs rather than paths.
54 This makes it more resilient to changes and use under different
55 hypervisors/drivers.
56
57 Init is configured to listen on /dev/console rather than /dev/tty1
58
59 Version 0.5
60 -----------
61
62 Most of the settings of the script have been moved to a configuration
63 file.  Depending on the ./configure options, the location of this file
64 might be /etc/default/ganeti-instance-debootstrap or
65 /usr/local/etc/default/ganeti-instance-debootstrap.
66
67 The cache generation and cleaning variables can be modified as follows:
68
69 - to enable generating the cache, modify the config file and set
70   GENERATE_CACHE to "yes"
71 - to disable cleaning the cache, set CLEAN_CACHE to ""; or
72   alternatively, you can customize with this variable the number of days
73   after which to clear the cache
74
75 Note that the cache file is no longer stored in the same directory as
76 the OS definition files, but (again depending on ./configure options)
77 usually under /var/cache/ganeti-instance-debootstrap.
78
79 There are many other customuizable settings added in this version, for
80 example the actual OS to be installed (no longer always installing
81 Debian Etch), whether to use a proxy or not, etc. See the README and the
82 'defaults' files.
83
84 Version 0.4
85 -----------
86
87 This version fixes the problem of interface renaming at instance import
88 time, by removing the saved udev hotplug rules (if any).
89
90 Version 0.3
91 -----------
92
93 The OS will cache the image of the first instance it installs using the
94 name "cache-$arch.tar" (where $arch is what dpkg --print-architecture
95 returns) on a node-by-node basis. This cache will be then used on the
96 future installs, speeding them greatly (even with a fast mirror). Feel
97 free to remove the cache at any time, or to copy it to all nodes. The
98 cache will be kept for two weeks, after which the first install will
99 recreate the cache (in order not to use old packages). If you don't care
100 about package age, remove the user write permission (chmod u-w) from the
101 cache and ganeti will continue to use the same file without refreshing
102 it.
103
104 If you don't have enough space and don't want cache creation, just touch
105 the file 'no_cache' - this will prevent the creation, but the script
106 will continue to use a cache if it exists (but it will remove an
107 existing one after two weeks).
108
109 Also note that if the image file is there, the script does not need
110 network access at all.
111
112 .. vim: set textwidth=72 :
113 .. Local Variables:
114 .. mode: rst
115 .. fill-column: 72
116 .. End: