frapposelli / vagrant-vcloud

Vagrant provider for VMware vCloud Director®
MIT License
67 stars 38 forks source link

Use soft shutdown for halt and reload #135

Closed seal-ss closed 7 years ago

seal-ss commented 7 years ago

I got a lot of trouble using Windows VM's in vCloud when I need eg. the vagrant-reload provisioner. The current implementation just powers off the VM without a soft shutdown of the Windows OS.

This PR is tested with Vagrant 1.7.4 and the vagrant reload, vagrant halt and vagrant-reload provision step.

Only disadvantage is that this only works with VMware tools installed in the guest VM.

A vagrant destroy still just powers off the VM.

frapposelli commented 7 years ago

Thanks Stefan!