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