Merge pull request #38890 from cro/vmware_reset_vm_20163

Backport  #38887 to 2016.3: Enable resetting a VM via salt-cloud & VMware driver
This commit is contained in:
Mike Place 2017-01-24 08:15:34 -07:00 committed by GitHub
commit e9ebec4d80

View File

@ -1993,7 +1993,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(