[xen-tools] Re: xen-tools final test ..

Henning Sprang henning_sprang at gmx.de
Tue Dec 5 15:19:42 CET 2006


On 12/5/06, Steve Kemp <steve at steve.org.uk> wrote:
>   How about overloading the --force flag to avoid checking for
>  the existence of the kernel/initrd image?  Would that satisfy you?

Do I get it right, you want to make force only override the missing
kernel when no kernel is found, but not have the original function
anymore?

>   I'm not sure what you mean here.  Either you hardwire it in the
>  template file, or you specify a kernel when calling xen-create-image,
>  but surely doing *both* is redundant?

Yeah, it's redundant, and the kernel option on the command line
actually gets ignored for all but the check then. But it works _now_
without changing xen-tools itself :) It's just a workaround - it's an
inevitable featire of workarounds to be a bit less eelegant :)
having a force-no-kernel  option would be cleaner. (and can also
become useful for people using pygrub, when the kernel really isn't in
the dom0 filesystem).

Henning





More information about the xen-tools-discuss mailing list