Hi,
Anyone know how to configure the Virtual Machine Startup and Shutdown properties from a command line.
I'm wanting to include that in a scripted build and would prefer not to manually configure it in the VI Client.
Cheers,
John
Well it's in the .vmx file for the virtual machine
autostart.order = "10"
autostart = "poweron"
autostop.order = "10"
but could always leave the VI setting to do nothing and create a script that uses:
vmware-cmd "Path_to_vmx" \{start | stop | getstate} to do a custom start up and shut down script.
Hi,
where can I configure "Virtual Machine Startup/Shutdown" via commandline?
I want to enable via Script/commandline the automatic startup and shutdown of the vms and I want to configure an automatic startup order or an manual order.
how can I do this?
thx.
juergen
You can use vimsh to do it.
http://www.vmware.com/community/message.jspa?messageID=598686#598686
vmware-vim-cmd hostsvc/autostartmanager/enable_autostart true
other things available are:
vmware-vim-cmd hostsvc/autostartmanager
Commands available under hostsvc/autostartmanager/:
autostart get_autostartseq update_defaults
autostop get_defaults
enable_autostart update_autostartentry
"I have an inferiority complex, it's just not a very good one."