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

Triggering a script to run *before* an event #12

Open
nelsonic opened this issue Jul 23, 2017 · 0 comments
Open

Triggering a script to run *before* an event #12

nelsonic opened this issue Jul 23, 2017 · 0 comments

Comments

@nelsonic
Copy link
Member

https://github.com/emyl/vagrant-triggers
e.g:

Install:

vagrant plugin install vagrant-triggers

Add:

config.trigger.before :up do
  config.vm.provision "bootstrap", type: "shell", inline: "sudo -i && mkdir -p /home/root/.ssh/"
end

Just about to test this syntax ... 🤞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant