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
Received on Tue Dec 05 2006 - 14:19:57 GMT