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