occiware/ecore

[CRTP infra-vmware connector]Compute: create, Autostart the vm for default value

Closed this issue · 3 comments

Autostart option must be enabled after creating the virtual machine. (cf vmspec)
Add attribute : autostartaftercreate to true by default in mixin vmaddon (vmwarecrtp# extension).

I have added with on commit 050b47d "auto power on" on compute creation.

There's no need of specific attributes, i will use state specification of the compute, if i create an instance with state "active" in query, this automatically start the instance, if none (so "inactive"), this will not start the instance after creation.

fix with commit 4736abf , i use state to start or not the instance after created.