From 2c9bed2d5410b68c0ebd66808a2539564a2ddce0 Mon Sep 17 00:00:00 2001 From: Sam Pearson Date: Tue, 18 Feb 2020 11:11:05 +0000 Subject: [Vagrant] Add local testing box to provisioning conditional For local testing, we'll now treat a box named `fms-local` as if it was the Vagrant Cloud box. --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 6ac85c163..17eebe4b5 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -105,7 +105,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # When using the mySociety box, just mount the local perl modules and run `script/update` # For any other box, just run the full setup process. - if "#{baseBox}" == "mysociety/fixmystreet" + if "#{baseBox}" == "mysociety/fixmystreet" || "#{baseBox}" == "fms-local" config.vm.provision "shell", run: "always", inline: $mount_modules config.vm.provision "shell", run: "always", inline: $update else -- cgit v1.2.3