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