-
Notifications
You must be signed in to change notification settings - Fork 848
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
Running commands on vagrant up #778
Comments
maybe we can add an if clause to the trigger here https://github.com/Varying-Vagrant-Vagrants/VVV/blob/develop/Vagrantfile#L287-L306 for a custom file? |
That was something I was going to propose but I wanted to make sure there wasn't any other way. |
maybe there is a "native" vagrant command you can add to the Vagrantfile. But I am no Vagrant expert |
@jonathanbardo You may want to check out issue #332. It looks like some folks had success with similar issues by using a Customfile or provision-post.sh |
Thanks for pointing that out! My problem with Customfile is that it is run before the provisionning and provision-post.sh is runned not everytime but only when we provision. I think the triggers should do the job. |
I've implemented a solution that works perfectly for my use case. |
Added in #782 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hey everyone!
I am trying to figure out the best method to run certain commands on vagrant up.
I always find myself running the following commands and I tried to automate it without any success.
I tried look at the provisionning script and couldn't find anything that would help me achieve this.
The text was updated successfully, but these errors were encountered: