From 394fbab3e941c846c6b2a7a56cc8c57cba49ae43 Mon Sep 17 00:00:00 2001 From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl> Date: Mon, 27 Mar 2017 07:50:19 +0200 Subject: [PATCH] fix --- run.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/run.sh b/run.sh index b6851e3..94f810e 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 -- GitLab