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

Steve Kemp steve at steve.org.uk
Tue Dec 5 15:06:05 CET 2006


On Tue, Dec 05, 2006 at 03:03:11PM +0100, Henning Sprang wrote:

> I just started these days to set the kernel of my VM's from a call of
> a python function, which I include from an external library - to be
> able to change the kernel in a central location and not have to edit
> all vm configs when I start running a new kernel.
> 
> Now, xen-tools has the nice, but in this case, when kernel is set to
> vmscriptlib.get_kernel(), hindering feature to test if the kernel
> image really exists.
> Would be cool to have a way to override this.

  How about overloading the --force flag to avoid checking for
 the existence of the kernel/initrd image?  Would that satisfy you?

> I think I will be able to override this in my xen-tools config
> templates (not the presets, the tpl files!), by just not using the
> kernel variable, and calling xen-create-image with just the kernek
> currently available in /boot ...

  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?

Steve
-- 





More information about the xen-tools-discuss mailing list