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