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