On Sun, Jul 23, 2006 at 01:27:51AM +0200, Henning Sprang wrote:
> Actually, that helped, as said before, but it is not clear, or even
> evident, that --debootstrap/--rpmstrap must be given from the manpage,
I think it is - from "man xen-create-image":
--cut--
INSTALLATION METHODS
The new guest images may be installed in several different ways:
1. With the B<debootstrap> command.
2. With the B<rpmstrap> command.
3. By copying an existing installation.
4. By untarring a file containing a previous installation.
These different methods can be selected by either the command line
arguments, or settings in the configuration file.
--cut--
(Hmm that should be "--debootstrap" option", and "--rpmstrap option"
respectively. Will update that.)
> and it also seems unreasonable - you can't install sarge/etch with
> rpmstrap, and you can't install centos or fedora with debootstrap. Bu
> maybe you are working on a secret dpkg for centos?! :)
I guess that is true - but you might want to install "sarge" by untarring, or
copying a previously created image. So "dist=sarge" cannot be assumed to
mean "debootstrap".
Thats the main reason why these are distinct, and mutually exclusive,
options.
> Severity still important in my opionion because the tool isn't useable
> without major tweaking around with all the options.
I will update the code to ensure at least one option is supplied for
the installation method, which I will regard as closing this bug.
(ie in your example it would output a message and exit:
"please choose one of the following options:
--debootstrap - Install with debootstrap
--rpmstrap - Install the dist with rpmstrap
--copy - Copy from the selected directory .. etc")
However I disagree utterly with the "major tweaking", because this
option could be specified in the configuration file as the comments
indicate.
I have to assume that people attempting to use software will examine
the configuration file. Otherwise you could claim that apt-get is
broken because the default configuration file doesn't point to a
local mirror without "major tweaking".
.. still I'm glad you got it working now :)
Steve
--
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]