From 487bffe8552ad2530fbfda355e257e98dd364980 Mon Sep 17 00:00:00 2001 From: Shabir Mohamed Abdul Samadh <7249208+Shabirmean@users.noreply.github.com> Date: Wed, 11 May 2022 15:01:10 -0400 Subject: [PATCH] bug: fix issues with the anthos-bm-edge sample (#301) * doc: fix the shell script error * doc: rename file * fix: shellcheck err --- ...-default-setting.yml.j2 => longhorn-default-setting.yaml.j2} | 0 anthos-bm-edge-deployment/scripts/cloud/easy-install.sh | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename anthos-bm-edge-deployment/roles/abm-software/templates/{longhorn-default-setting.yml.j2 => longhorn-default-setting.yaml.j2} (100%) diff --git a/anthos-bm-edge-deployment/roles/abm-software/templates/longhorn-default-setting.yml.j2 b/anthos-bm-edge-deployment/roles/abm-software/templates/longhorn-default-setting.yaml.j2 similarity index 100% rename from anthos-bm-edge-deployment/roles/abm-software/templates/longhorn-default-setting.yml.j2 rename to anthos-bm-edge-deployment/roles/abm-software/templates/longhorn-default-setting.yaml.j2 diff --git a/anthos-bm-edge-deployment/scripts/cloud/easy-install.sh b/anthos-bm-edge-deployment/scripts/cloud/easy-install.sh index b739d5fe..25895700 100755 --- a/anthos-bm-edge-deployment/scripts/cloud/easy-install.sh +++ b/anthos-bm-edge-deployment/scripts/cloud/easy-install.sh @@ -38,7 +38,7 @@ echo "💡 -------------------------------------------------------------------" echo "💡 -------------------------------------------------------------------" echo "💡 Updating /etc/hosts with the IP addresses of the GCE instances..." echo "💡 -------------------------------------------------------------------" -"${ROOT_DIR}"/scripts/status.sh | tail -$(("${MACHINE_COUNT}"+1)) > temp.log +"${ROOT_DIR}"/scripts/status.sh | tail -"$((MACHINE_COUNT+1))" > temp.log sudo sh -c 'cat temp.log >> /etc/hosts' rm -rf temp.log