Menu

#14 ESX Host Shutdown

open
nobody
runtime (9)
5
2007-07-17
2007-07-17
KevKoala
No

There is an error in "hostops.pl"

Currenly reads:

my %operations = (
add_standalone => \&add_standalone_host,
disconnect => \&disconnect_host,
reconnect => \&reconnect_host,
enter_maintenance => \&enter_maintenance_mode,
exit_maintenance => \&exit_maintenance_mode,
reboot => \&reboot,
shutdown => \&shutdown,
);

Should be:

my %operations = (
add_standalone => \&add_standalone_host,
disconnect => \&disconnect_host,
reconnect => \&reconnect_host,
enter_maintenance => \&enter_maintenance_mode,
exit_maintenance => \&exit_maintenance_mode,
reboot => \&reboot,
shutdown => \&shutdown_host,
);

Needs "_host" adding to the \&shutdown.

Cheers,

Kev

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.