commit db076d5a348dfa4cc2ea181083b749bd14fff894 from: mischa date: Mon May 20 12:08:26 2024 UTC instance match only at the beginning of the line commit - 81de8248c32aa215d2ba35a86163a469ef59dded commit + db076d5a348dfa4cc2ea181083b749bd14fff894 blob - c3e1ad2b98bbf656683a14b25a17d831ca2dae71 blob + 77edb2a39d7e386db5cb8f0f3faea2a902392f56 --- launch.sh +++ launch.sh @@ -41,7 +41,7 @@ else chmod 600 ${VMS}/${1}.txt fi -INSTANCE=$(awk -F'=' '/instance/ {print $2}' ${VMS}/${1}.txt | tr -d '"') +INSTANCE=$(awk -F'=' '/^instance/ {print $2}' ${VMS}/${1}.txt | tr -d '"') if [[ -z ${INSTANCE} ]]; then INSTANCE=${1} fi