VMware Cloud Community
kri-2
Hot Shot
Hot Shot

Autostart/Shutdown defaults

Hi,

is there a way to set a default for the startup/shutdown behaviour of a standalone host?

So that every new vm on this host automatically moves to "automatic startup".

Using this command generaly activates the autostart option, but every newly created vm is in the "manual startup" order.

vim-cmd hostsvc/autostartmanager/enable_autostart 1

Any ideas?

Chris

0 Kudos
6 Replies
JimKnopf99
Commander
Commander

Hi,

look at this post.

http://communities.vmware.com/thread/160137

Frank

If you find this information useful, please award points for "correct" or "helpful".

If you find this information useful, please award points for "correct" or "helpful".
kri-2
Hot Shot
Hot Shot

Hi Frank,

thanks for your hint.

But, I should have said, that I like to set these defaults during the installation (in a scripted way) on the console.

Is this also possible?

Chris

0 Kudos
VTsukanov
Virtuoso
Virtuoso

is there a way to set a default for the startup/shutdown behaviour of a standalone host?

I am not assured that such method of change of behaviour is available

Maybe you're satisfied with command

vim-cmd hostsvc/autostartmanager/update_autostartentry ?

kri-2
Hot Shot
Hot Shot

What I don't like here is, that I would have to run it for each vm AFTER creating it.

Why isn't it possible to say: "every vm that is created will go to the autostart order" ?

0 Kudos
VTsukanov
Virtuoso
Virtuoso

I can offer to create script in cron which will to analyze powered on vm and if it is necessary to configure autostart vm

0 Kudos
kri-2
Hot Shot
Hot Shot

thanks VTsukanov,

i am able to write it. I thought there must be an "easy" way.

0 Kudos