New VM or Template: Passing OS Options?

11 views
Skip to first unread message

Daniel Howard

unread,
Sep 17, 2015, 6:43:23 PM9/17/15
to ganeti-webmgr
Heya,

So, on the command line, I spin up instances like so:

gnt-instance add -s 8G -B memory=1G -o snf-image+default -O img_format=diskdump,img_id=qf-ubuntu --no-name-check --no-ip-check ganeti-test69.mtv.qxxxxxxxxd.com

Most of that translates fine into GWM, except I can not spin up an instance because the crucial stuff in the -O flag is missing.

Q: Can I put those OS options in GWM?

Q: If not ... anyone know if / how to set them options as the default for snf-image?

Cheers,
-danny

Daniel Howard

unread,
Sep 17, 2015, 7:09:45 PM9/17/15
to ganeti-webmgr
To set the defaults for snf-image:

gnt-os modify -O img_format=diskdump,img_id=qf-ubuntu snf-image+default

Evan Tschuy

unread,
Sep 17, 2015, 7:31:58 PM9/17/15
to ganeti...@googlegroups.com
GWM does not currently support osparams, though the Ganeti RAPI does.
If you make an issue for it, I can see what we'd need to change to get
it implemented, though we don't use the flag internally and you can
set the image flags like you did, so it might not get done that
quickly.

Glad you were able to make it work!

Evan
> --
> You received this message because you are subscribed to the Google Groups
> "ganeti-webmgr" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ganeti-webmg...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages