From 0146562fb4713e70109a5d0f75e1b98b16f0de46 Mon Sep 17 00:00:00 2001 From: "C. R. Oldham" Date: Mon, 5 Dec 2016 15:42:11 -0700 Subject: [PATCH] Call correct function for resetting a VM --- salt/cloud/clouds/vmware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/cloud/clouds/vmware.py b/salt/cloud/clouds/vmware.py index 80d8063605..52fa063467 100644 --- a/salt/cloud/clouds/vmware.py +++ b/salt/cloud/clouds/vmware.py @@ -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(