Update NEWS file and bump version for 0.12 release
[ext/instance-debootstrap.git] / NEWS
1 Version 0.12
2 ------------
3
4 A few small bugfixes:
5
6 - the defaults file is now installed automatically; even though all
7   settings are commented out, this allows for easier configuration
8 - all existing hooks are now distributed in the archive and also
9   installed via `make install' (fixes issue 283)
10 - the console activation for xen-pvm hypervisor has been corrected;
11   before it was working only for kvm (fixes issue 284)
12
13
14 Version 0.11
15 ------------
16
17 The partition alignment offset is now configurable (using the
18 PARTITION_ALIGNMENT configuration setting, in sectors) and the
19 distribution names and packages in the defaults file have been updated.
20
21 Furthermore, the grub example hook has been improved a bit:
22
23 - automatically uses the defined proxy, so that package installation
24   uses the same method as the main install
25 - debconf frontend set to non-interactive, to prevent an debconf
26   question loop
27
28 However, there still seem to be issues related to this hook (recent grub
29 versions fail to run correctly "grub-install" or "update-grub" and
30 complain about device mappings); help is welcome.
31
32 Version 0.10
33 ------------
34
35 This add supports for ext4 file-systems and changes the default
36 distribution from Lenny to Squeeze.
37
38 Additionally, new hooks were added:
39
40 - setting the password for the root user
41 - setting the timezone
42 - setting SSH keys for a given user
43
44 Version 0.9
45 -----------
46
47 Changed the default CUSTOMIZE_DIR (under $sysconfdir, usually /etc) from
48 ganeti/instance-debootstrap.d to ganeti/instance-debootstrap/hooks, to
49 match better with the directory used for the variants file. Now
50 customization of the instance-debootstrap is done either in the defaults
51 file or under ganeti/instance-debootstrap.
52
53 Fix serial console access for kvm instances (bind to ttyS0 rather than
54 console). Please note that with this change if you toggle the serial
55 console hypervisor parameter in Ganeti, but don't create the getty entry
56 in /etc/inittab or /etc/event.d/ you won't have serial access. Before it
57 used to work, but the serial console was slightly broken (no ctrl+c for
58 example).
59
60 Also start shipping the examples in the tar archive, to ease packaging.
61
62 Version 0.8
63 -----------
64
65 Added support for OS API 15 (with OS variants) that is supported by
66 Ganeti 2.1.
67
68 blktype is now supported as an alternative to vol_id; this is needed for
69 newer Debian-based operating systems.
70
71 Added an example grub script, that can be used for automatically
72 installing grub inside new instances.
73
74 Version 0.7
75 -----------
76
77 Fix Ganeti 1.2 compatibility (0.6 was broken) and force the scripts to be
78 executed under /bin/bash (rather than /bin/sh). This fixes compatibility with
79 distributions where /bin/sh is not bash.
80
81 Support 'msdos' partition style, in which the instance disk gets a partition
82 table, and one big partition, rather than creating the filesytem directly on
83 the block device. This requires kpartx to be installed, and is the default when
84 installing under Ganeti 2.0.
85
86 Added the possibility to customize the installation without having to patch the
87 os directly, by executing the scripts in CUSTOMIZE_DIR and giving them a chance
88 to change the instance filesystem. As an example a script that sets the first
89 nic to request a dhcp address is provided.
90
91 Version 0.6
92 -----------
93
94 Support for Ganeti 2.0 (os api 10)
95
96 The instance's fstab is now generated with volumes' UUIDs rather than paths.
97 This makes it more resilient to changes and use under different
98 hypervisors/drivers.
99
100 Init is configured to listen on /dev/console rather than /dev/tty1
101
102 Version 0.5
103 -----------
104
105 Most of the settings of the script have been moved to a configuration
106 file.  Depending on the ./configure options, the location of this file
107 might be /etc/default/ganeti-instance-debootstrap or
108 /usr/local/etc/default/ganeti-instance-debootstrap.
109
110 The cache generation and cleaning variables can be modified as follows:
111
112 - to enable generating the cache, modify the config file and set
113   GENERATE_CACHE to "yes"
114 - to disable cleaning the cache, set CLEAN_CACHE to ""; or
115   alternatively, you can customize with this variable the number of days
116   after which to clear the cache
117
118 Note that the cache file is no longer stored in the same directory as
119 the OS definition files, but (again depending on ./configure options)
120 usually under /var/cache/ganeti-instance-debootstrap.
121
122 There are many other customizable settings added in this version, for
123 example the actual OS to be installed (no longer always installing
124 Debian Etch), whether to use a proxy or not, etc. See the README and the
125 'defaults' files.
126
127 Version 0.4
128 -----------
129
130 This version fixes the problem of interface renaming at instance import
131 time, by removing the saved udev hotplug rules (if any).
132
133 Version 0.3
134 -----------
135
136 The OS will cache the image of the first instance it installs using the
137 name "cache-$arch.tar" (where $arch is what dpkg --print-architecture
138 returns) on a node-by-node basis. This cache will be then used on the
139 future installs, speeding them greatly (even with a fast mirror). Feel
140 free to remove the cache at any time, or to copy it to all nodes. The
141 cache will be kept for two weeks, after which the first install will
142 recreate the cache (in order not to use old packages). If you don't care
143 about package age, remove the user write permission (chmod u-w) from the
144 cache and ganeti will continue to use the same file without refreshing
145 it.
146
147 If you don't have enough space and don't want cache creation, just touch
148 the file 'no_cache' - this will prevent the creation, but the script
149 will continue to use a cache if it exists (but it will remove an
150 existing one after two weeks).
151
152 Also note that if the image file is there, the script does not need
153 network access at all.
154
155 .. vim: set textwidth=72 :
156 .. Local Variables:
157 .. mode: rst
158 .. fill-column: 72
159 .. End: