VMware Cloud Community
EborComputing
Contributor
Contributor

Cannot update autostart entries for VMs

Hi All,

I am having trouble setting the autostart entries for VMs. Googling did not result in any help. The following is the command I used:

~ # vim-cmd /hostsvc/autostartmanager/update_autostartentry 7 PowerOn 15 1 GuestShutdown SystemDefault SystemDefault

It returned the following:

1Invalid argument

Anyone see what I've done wrong?

TIA,

Vlad

Tags (1)
0 Kudos
2 Replies
EborComputing
Contributor
Contributor

Solved. Apparently systemDefault must be specified as is whereas PowerOn and powerOn are the same. GuestShutdown and guestShutdown is also the same. So who ever coded the parser did a case insensitive compare for  PowerOne and GuestShutdown but a case sensitive compare for systemDefault.

0 Kudos
EborComputing
Contributor
Contributor

This post has been answered by myself. So can close.

0 Kudos