vagrant/plugins/providers/virtualbox
Ray Ruvinskiy e42f346b1d
Make `start` action run provisioners if VM is running
Previously, there was no one gesture that would start a VM if it was not
running and run the appropriate provisioners regardless of its original
state. `vagrant up` did nothing if the VM was running, while
`vagrant provision` did nothing if the VM was not running.

Change the semantics of `vagrant up`, via the start actions of the providers,
to go through the provisioning logic even if the VM is already running.
The semantics of `run: "once"` vs `run: "always"` are respected.

Tested with the VirtualBox provider but not the others.

Resolves #4421
2016-05-27 19:00:33 -04:00
..
action Merge pull request #7290 from phyber/fix/master/prepare_nfs_settings_machine_ip_fix 2016-05-27 18:38:03 -04:00
cap Add public_address cap for VirtualBox 2015-11-23 16:23:22 -05:00
driver Check both stderr and stdout 2016-03-17 10:52:10 -04:00
model Use .key? instead of .has_key? 2015-01-05 18:29:01 -05:00
util core: set `disabled: true` for disabling forwarded port [GH-1922] 2013-08-29 12:25:53 -07:00
action.rb Make `start` action run provisioners if VM is running 2016-05-27 19:00:33 -04:00
cap.rb Return nil if the VM is not running when looking at forwarded ports 2015-11-24 16:33:09 -05:00
config.rb providers/virtualbox: ability to customize linked clone snapshot 2015-10-08 11:58:47 -04:00
plugin.rb Add public_address cap for VirtualBox 2015-11-23 16:23:22 -05:00
provider.rb Revert "#5186: Warning: Authentication failure. Retrying... after packaging box" 2015-11-18 16:35:35 -08:00
synced_folder.rb Change symbols inside hashes to 1.9 JSON-like syntax 2014-05-22 12:35:12 -04:00