From the v3.2 release onwards the handling of the installation type has changed. The following options are no longer supported:
Instead of these methods two new command line flags have been added:
This flag will now specify the installation type. Valid options are:
"--install-method = copy" This installs by copying a source directory recursively.
"--install-method = debootstrap" This installs with debootstrap.
"--install-method = rpmstrap" This installs with rpmstrap.
"--install-method = tar" This installs by untarring a file.
For the two installation methods which require a source (copy & tar) this option will be used to specify that source.
For example to install a guest by unpacking a tarfile the following is not vaid:
xen-create-image --tar=/tmp/tar.tar ...
Instead you should use:
xen-create-image --install-source=tar \ --install-source=/tmp/tar.tar ...
During the course of development several earlier mistakes were corrected, to make the software easier to develop, maintain, and extend.
This is mostly gone unnoticed, but several things have changed under the hood. This page contains a list of such changes.
The most obvious change to the xen-create-image script is the way in which command line arguments are handled. This is because this script is now mostly a wrapper around several other tools (see below for details).
There are two significant changes:
The other difference in the 2.x release is that multiple static IP addresses are allowd. Simple repeast --ip xx.xx.xx.xx for each static IP address you wish to allocate.
(When specifying multiple IP addresses the first one specified is the primary one; the remainder are added as aliases.)
In previous releases the xen-create-image script was a large monolithic script which was hard to modify, and hard to extend.
This has changed to make the code easier to manage, and make extending it easier. This is one reason why the new installation methods specified by --copy and --tar were so easy to add.
The new system removes 95% of the creation logic from the xen-create-image script. Instead it parses options, performs sanity checking, and invokes some helper applications to do the work:
(The xt- prefix is shorthand for xen-tools.)
More details of changes can be found in the changelog included in the download.