1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240
|
Version 0.17
------------
Release accumulated commits over the years:
- timezone-hook: don't use obsolete /etc/timezone, thanks to Wurzelmann
(fad62c8)
- align partition name prefix with multipath, thanks to Jérôme Charaoui
(e0df6b1)
- support EXTLINUX boot loader as an example, thanks to Ivan Rossi (6e134ef)
- export http_proxy every time, thanks to Émile Morel (5a00f83)
- enable instance network configuration WRT gnt-network, thanks to Wurzelmann
(b4a2f34)
- respect Linux capabilities(7) in cache, thanks to Antoine Beaupré (8052845),
already in Debian
- inform about the correct minimum disk size
- make newer sfdisk work again on top of LVM/DRBD, thanks to Apollon
Oikonomopoulos (e145396), already in Debian
Version 0.16
------------
Again a small bugfix release:
- ensure the same filesystem is used consistently throughout the code
(issue 1175); previously only the create script was paying attention
to `OSP_FILESYSTEM`
- fix compatibility with sfdisk version 2.26 and later (Ubuntu bug
LP#1577346)
- improve checks for required programs at configure time
- change default distribution to Jessie and increase minimum accepted
disk size from 256MiB to 512MiB
- add a small test suite to allow for easier integration testing with
distributions
Version 0.15
------------
Small bugfix release:
- improved compatibility with newer `losetup` versions (issue 690)
- make kpartx run in sync mode, so that partitions are present by the
time we want to access them
- wait for udev to finish scanning (loopback) devices before attempting
to delete them
- fix parsing of UUIDs that contain "-1" as sub-string
Version 0.14
------------
The root password is now automatically cleared, so that it is possible to
immediately log into a newly created instance.
A hardcoded reference to ext3 is removed.
The documentation is improved, correctly specifying that the default debian
version installed is now wheezy, and with the addition of examples on how to run
hooks while creating a new instance.
Version 0.13
------------
The Debian version installed by default is now Wheezy.
The filesystem type for the root partition of instances is now
configurable through the new OS parameter ``filesystem``. It
defaults to 'ext4'.
Improve documentation with regard to instance variants.
Bugfixes:
- Report an error if it's exporting an instance fails because of the
wrong filesystem type.
Version 0.12
------------
A few small bugfixes:
- the defaults file is now installed automatically; even though all
settings are commented out, this allows for easier configuration
- require and check for a minimum device size; this makes error messages
much clearer, compared to tar's out of disk space errors (fixes issue
164)
- it is now possible to override the "components" argument to
debootstrap, to be able to install more packages (e.g. from contrib,
or from universe) (fixes issue 254)
- all existing hooks are now distributed in the archive and also
installed via `make install' (fixes issue 283)
- the console activation for xen-pvm hypervisor has been corrected;
before it was working only for kvm (fixes issue 284)
Version 0.11
------------
The partition alignment offset is now configurable (using the
PARTITION_ALIGNMENT configuration setting, in sectors) and the
distribution names and packages in the defaults file have been updated.
Furthermore, the grub example hook has been improved a bit:
- automatically uses the defined proxy, so that package installation
uses the same method as the main install
- debconf frontend set to non-interactive, to prevent an debconf
question loop
However, there still seem to be issues related to this hook (recent grub
versions fail to run correctly "grub-install" or "update-grub" and
complain about device mappings); help is welcome.
Version 0.10
------------
This add supports for ext4 file-systems and changes the default
distribution from Lenny to Squeeze.
Additionally, new hooks were added:
- setting the password for the root user
- setting the timezone
- setting SSH keys for a given user
Version 0.9
-----------
Changed the default CUSTOMIZE_DIR (under $sysconfdir, usually /etc) from
ganeti/instance-debootstrap.d to ganeti/instance-debootstrap/hooks, to
match better with the directory used for the variants file. Now
customization of the instance-debootstrap is done either in the defaults
file or under ganeti/instance-debootstrap.
Fix serial console access for kvm instances (bind to ttyS0 rather than
console). Please note that with this change if you toggle the serial
console hypervisor parameter in Ganeti, but don't create the getty entry
in /etc/inittab or /etc/event.d/ you won't have serial access. Before it
used to work, but the serial console was slightly broken (no ctrl+c for
example).
Also start shipping the examples in the tar archive, to ease packaging.
Version 0.8
-----------
Added support for OS API 15 (with OS variants) that is supported by
Ganeti 2.1.
blktype is now supported as an alternative to vol_id; this is needed for
newer Debian-based operating systems.
Added an example grub script, that can be used for automatically
installing grub inside new instances.
Version 0.7
-----------
Fix Ganeti 1.2 compatibility (0.6 was broken) and force the scripts to be
executed under /bin/bash (rather than /bin/sh). This fixes compatibility with
distributions where /bin/sh is not bash.
Support 'msdos' partition style, in which the instance disk gets a partition
table, and one big partition, rather than creating the filesytem directly on
the block device. This requires kpartx to be installed, and is the default when
installing under Ganeti 2.0.
Added the possibility to customize the installation without having to patch the
os directly, by executing the scripts in CUSTOMIZE_DIR and giving them a chance
to change the instance filesystem. As an example a script that sets the first
nic to request a dhcp address is provided.
Version 0.6
-----------
Support for Ganeti 2.0 (os api 10)
The instance's fstab is now generated with volumes' UUIDs rather than paths.
This makes it more resilient to changes and use under different
hypervisors/drivers.
Init is configured to listen on /dev/console rather than /dev/tty1
Version 0.5
-----------
Most of the settings of the script have been moved to a configuration
file. Depending on the ./configure options, the location of this file
might be /etc/default/ganeti-instance-debootstrap or
/usr/local/etc/default/ganeti-instance-debootstrap.
The cache generation and cleaning variables can be modified as follows:
- to enable generating the cache, modify the config file and set
GENERATE_CACHE to "yes"
- to disable cleaning the cache, set CLEAN_CACHE to ""; or
alternatively, you can customize with this variable the number of days
after which to clear the cache
Note that the cache file is no longer stored in the same directory as
the OS definition files, but (again depending on ./configure options)
usually under /var/cache/ganeti-instance-debootstrap.
There are many other customizable settings added in this version, for
example the actual OS to be installed (no longer always installing
Debian Etch), whether to use a proxy or not, etc. See the README and the
'defaults' files.
Version 0.4
-----------
This version fixes the problem of interface renaming at instance import
time, by removing the saved udev hotplug rules (if any).
Version 0.3
-----------
The OS will cache the image of the first instance it installs using the
name "cache-$arch.tar" (where $arch is what dpkg --print-architecture
returns) on a node-by-node basis. This cache will be then used on the
future installs, speeding them greatly (even with a fast mirror). Feel
free to remove the cache at any time, or to copy it to all nodes. The
cache will be kept for two weeks, after which the first install will
recreate the cache (in order not to use old packages). If you don't care
about package age, remove the user write permission (chmod u-w) from the
cache and ganeti will continue to use the same file without refreshing
it.
If you don't have enough space and don't want cache creation, just touch
the file 'no_cache' - this will prevent the creation, but the script
will continue to use a cache if it exists (but it will remove an
existing one after two weeks).
Also note that if the image file is there, the script does not need
network access at all.
.. vim: set textwidth=72 :
.. Local Variables:
.. mode: rst
.. fill-column: 72
.. End:
|