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