On Mon, May 11, 2009 at 02:50:17PM +0100, Guido Trotter wrote:
> On Mon, May 11, 2009 at 2:45 PM, Iustin Pop <[email protected]> wrote:
> >
> > In Ganeti 1.2, “none” was used to signify no initrd. In 2.0 we have lost 
> > this,
> > and as a quick fix we document in the manpage how to disable the initrd via 
> > an
> > empty parameter.
> >
> > The QA suite is changed accordingly.
> 
> I think in Ganeti 2.0 we're supposed to use no_initrd to remove the
> value of an hv param

Hmmm... we have no_* for setting to false, and '-' (as prefix) for setting to
none.... This is very confusing, as it doesn't work for values which are
strings:

gnt-instance modify -H -initrd_path ....
Parameter Error: 'initrd_path' (value None) is not a valid string

but this works (via type enforcement in ForceDict):
gnt-instance modify -H no_initrd_path ...

will resend, thanks.

iustin

Reply via email to