From db076d5a348dfa4cc2ea181083b749bd14fff894 Mon Sep 17 00:00:00 2001 From: mischa Date: Mon, 20 May 2024 12:08:26 +0000 Subject: [PATCH] instance match only at the beginning of the line --- launch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launch.sh b/launch.sh index c3e1ad2..77edb2a 100755 --- a/launch.sh +++ b/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