Add trigger to Vagrantfile for rsync-auto
This commit is contained in:
parent
2b4dfdc56d
commit
19bc42a02b
|
@ -37,4 +37,12 @@ Vagrant.configure("2") do |config|
|
||||||
# That's it
|
# That's it
|
||||||
echo "That's it. We're set up. Enjoy your test environment."
|
echo "That's it. We're set up. Enjoy your test environment."
|
||||||
SHELL
|
SHELL
|
||||||
|
|
||||||
|
config.trigger.after :up do |t|
|
||||||
|
t.info = "rsync auto"
|
||||||
|
t.run = {inline: "vagrant rsync-auto"}
|
||||||
|
# If you want it running in the background switch these
|
||||||
|
#t.run = {inline: "bash -c 'vagrant rsync-auto bork &'"}
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue