diff --git a/scripts/multipassInstallPreRequired.sh b/scripts/multipassInstallPreRequired.sh old mode 100644 new mode 100755 index b837261..d06aaa9 --- a/scripts/multipassInstallPreRequired.sh +++ b/scripts/multipassInstallPreRequired.sh @@ -2,6 +2,7 @@ { host=$1 echo $host + set -x machine="localhost" if [ "$machine" == "multipass" ] @@ -28,7 +29,7 @@ } -function multipassExecTask1 +function multipassExecTask { host=$1 echo $host @@ -78,7 +79,7 @@ { host=$1 echo $host - machine="localhost" + machine="multipass" if [ "$machine" == "multipass" ] then executor="multipass exec $host --" @@ -95,6 +96,7 @@ } function multipassExecSshVerifyV1 { + set -x host=$1 echo $host machine="localhost" @@ -131,14 +133,14 @@ for host in `cat hosts` do -# multipassExecTaskV1 $host + multipassExecTask $host echo $host done for host in `cat hosts` do - multipassExecPostTaskV1 $host + multipassExecPostTask $host done for host in `cat hosts` do - multipassExecSshVerifyV1 $host + multipassExecSshVerify $host done