Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable resetting a VM via salt-cloud & VMware driver #38887

Merged
merged 3 commits into from Jan 24, 2017

Conversation

cro
Copy link
Contributor

@cro cro commented Jan 23, 2017

What does this PR do?

Corrects the call to VMware to perform a reset of a VM (like pushing the reset button on a physical computer). The call needed to be updated from vm.Reset() to vm.ResetVM_Task.

What issues does this PR fix or reference?

Closes #37413

Previous Behavior

salt-cloud -a reset vm_name would not do anything.

New Behavior

salt-cloud -a reset vm_name now hard-resets vm_name.

cachedout pushed a commit that referenced this pull request Jan 24, 2017
Backport  #38887 to 2016.3: Enable resetting a VM via salt-cloud & VMware driver
cachedout pushed a commit that referenced this pull request Jan 24, 2017
Backport #38887 to 2016.11: Call correct function for resetting a VM
@cachedout cachedout merged commit 0e102da into saltstack:develop Jan 24, 2017
@cro cro deleted the vmware_reset_vm branch May 25, 2017 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Salt-cloud vmware missing reboot command
2 participants