mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Call correct function for resetting a VM
This commit is contained in:
parent
a70354071a
commit
724ab22f16
@ -2114,7 +2114,7 @@ def reset(name, call=None):
|
||||
return ret
|
||||
try:
|
||||
log.info('Resetting VM {0}'.format(name))
|
||||
task = vm["object"].Reset()
|
||||
task = vm["object"].ResetVM_Task()
|
||||
salt.utils.vmware.wait_for_task(task, name, 'reset')
|
||||
except Exception as exc:
|
||||
log.error(
|
||||
|
Loading…
Reference in New Issue
Block a user