From 944aeb15690b84e2270dce57f9413323f23e9576 Mon Sep 17 00:00:00 2001 From: William Mantly Date: Mon, 6 Sep 2021 20:27:23 +0000 Subject: [PATCH] Update 'index.sh' --- index.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.sh b/index.sh index 97cd65e..81646eb 100755 --- a/index.sh +++ b/index.sh @@ -119,10 +119,10 @@ if [ -z "$sso_token" ]; then curl '$sso_url/api/group/' \ -H 'auth-token: $sso_token' \ -H 'content-type: application/json; charset=UTF-8' \ - --data-binary "{\"name\":\"host_$hostname_access\",\"description\":\"Access for $hostname\"}" + --data-binary "{\"name\":\"host_${hostname}_access\",\"description\":\"Access for $hostname\"}" curl '$sso_url/api/group/' \ -H 'auth-token: $sso_token' \ -H 'content-type: application/json; charset=UTF-8' \ - --data-binary "{\"name\":\"host_$hostname_admin\",\"description\":\"sudo for $hostname\"}" + --data-binary "{\"name\":\"host_${hostname}_admin\",\"description\":\"sudo for $hostname\"}" fi