diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost b/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost index 8fcf9fee0..84962bf16 100644 --- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost +++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost @@ -253,7 +253,8 @@ def _power_action(action): result = _run_command("xe vm-shutdown --multiple power-state=running") if result: raise pluginlib.PluginError(result) - cmds = {"reboot": "xe host-reboot", "startup": "xe host-power-on", + cmds = {"reboot": "xe host-reboot", + "startup": "xe host-power-on", "shutdown": "xe host-shutdown"} result = _run_command(cmds[action]) # Should be empty string |
