ONE 5.0.1 - Is it possible to change context variables after VM creation?

Hi!

I’ve created a VM and set IP address. But I can’t change another network options, like gateway, netmask and DNS as well as another interface options. If I shutdown VM and try to change the context with Sunstone - it just doesn’t save changes. I can change ssh keys but that’s all.
Is there any way to change the context after VM creation available?

Thanks!

Best regards,
Vladimir

Ok,

I’ve done it with detach NICs and attach it again with editing Advanced options. Hope it helps somebody.

When the VM is poweroff you can also use updateconf to change the context
variables, or the values associated with a Virtual Network. For example y
you change the gateway attribute in a network in the next poeroff cycle
will be updated. Cheers

Ruben,

thanks for the answer!

I’ve tried to update VM’s context in poweroff state but without success - it just doesn’t save changes: I use Update button in (Sunstone) VM properties, change fields, press Update button again to save and automatically return to the properties screen; but if I’ll go with Update again - the fields I’ve changed before are empty.

Best regards,
Vladimir

Make sure you have not checked the “Generate Network Context”, if that’s
the case the variables are re-generated with the network attributes (in
case they are updated).

1 Like

Ruben,

thanks a lot, it was my case!

Best regards,
Vladimir