From 19bc42a02bf1a7ef9e2a1212a7137cfbff97ff27 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Sun, 24 Nov 2019 01:06:31 +0100 Subject: [PATCH] Add trigger to Vagrantfile for rsync-auto --- Vagrantfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 426da5a..328fac1 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -37,4 +37,12 @@ Vagrant.configure("2") do |config| # That's it echo "That's it. We're set up. Enjoy your test environment." 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