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

Update run.sh

parent f4a2b89e
No related branches found
No related tags found
1 merge request!1Update run.sh
Pipeline #657 passed with stage
in 45 seconds
......@@ -5,16 +5,9 @@ shutdown -h +60 "Timeout on VM creation"
if [ -e "/vagrant/build.sh" ]; then
cp -f /vagrant/build.sh ~/build.sh
echo """
wait""" >> ~/build.sh
bash ~/build.sh
bash /vagrant/build.sh
fi
if [ -e "/vagrant/build_as_vagrant.sh" ]; then
cp -f /vagrant/build_as_vagrant.sh ~/build_as_vagrant.sh
echo """
wait""" >> ~/build_as_vagrant.sh
sudo -H -u vagrant -- bash ~/build_as_vagrant.sh
bash /vagrant/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