diff --git a/run.sh b/run.sh index b6851e3f21953fbf0033dfe43167f048b1ed4ac6..94f810e5326cf27f994447c79af4aca788695464 100644 --- a/run.sh +++ b/run.sh @@ -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