Skip to content
Snippets Groups Projects
Commit d1c4780e authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

Merge branch 'master' into henrietta

parents 4b538c8f 89c09b94
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash
set -e
shutdown -h +60 "Timeout on VM creation"
if [ -e "/vagrant/build.sh" ]; then
bash /vagrant/build.sh
cp -f /vagrant/build.sh ~
echo """
wait""" > ~/build.sh
bash ~/build.sh
fi
if [ -e "/vagrant/build_as_vagrant.sh" ]; then
sudo -H -u vagrant bash /vagrant/build_as_vagrant.sh
cp -f /vagrant/build_as_vagrant.sh ~
echo """
wait""" > ~/build_as_vagrant.sh
sudo -H -u vagrant -- bash ~/build_as_vagrant.sh
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment