Update Vagrantfile to pull from development branch

This commit is contained in:
David Duque 2020-07-03 19:01:16 +01:00
parent 1d4d03637f
commit 3dfdb9a309
No known key found for this signature in database
GPG Key ID: 2F327738A3C0AE3A
1 changed files with 15 additions and 1 deletions

16
Vagrantfile vendored
View File

@ -26,8 +26,22 @@ Vagrant.configure("2") do |config|
export PRIMARY_HOSTNAME=auto
#export SKIP_NETWORK_CHECKS=1
if [ ! git ]
then
apt update
apt install git
fi
if [ ! -d /mailinabox ];
then
git clone https://github.com/ddavness/power-mailinabox.git /mailinabox
fi
# Start the setup script.
cd /vagrant
cd /mailinabox
git checkout development
git pull
setup/start.sh
SH
end