Skip to content
New issue

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

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

Already on GitHub? # to your account

Make start action run provisioners if VM is running #294

Merged
merged 1 commit into from
Mar 28, 2017

Conversation

legal90
Copy link
Collaborator

@legal90 legal90 commented Mar 25, 2017

That is a port of the upstream Vagrant commit:
hashicorp/vagrant@e42f346

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.

That is a port of the upstream Vagrant commit:
hashicorp/vagrant@e42f346

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.
@legal90 legal90 merged commit 648f40f into Parallels:master Mar 28, 2017
@legal90 legal90 deleted the run-provision-on-up branch March 28, 2017 12:23
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants