diff --git a/setup/setup-canary.sh b/setup/setup-canary.sh index b668bb1..c644e76 100644 --- a/setup/setup-canary.sh +++ b/setup/setup-canary.sh @@ -116,7 +116,7 @@ sudo kubectl -n cert-manager get pod # Checking installation of Longhorn sudo apt-get install jq -y -sudo curl -sSfL https://raw.githubusercontent.com/longhorn/longhorn/v1.7.2/scripts/environment_check.sh | bash +sudo curl -sSfL https://raw.githubusercontent.com/longhorn/longhorn/v1.7.2/scripts/environment_check.sh | sudo bash joinTokenForOtherNodes=$(sudo cat /var/lib/rancher/k3s/server/node-token) diff --git a/setup/setup.sh b/setup/setup.sh index 2881e94..2c61ada 100644 --- a/setup/setup.sh +++ b/setup/setup.sh @@ -115,7 +115,7 @@ sudo kubectl -n cert-manager get pod # Checking installation of Longhorn sudo apt-get install jq -y -sudo curl -sSfL https://raw.githubusercontent.com/longhorn/longhorn/v1.7.2/scripts/environment_check.sh | bash +sudo curl -sSfL https://raw.githubusercontent.com/longhorn/longhorn/v1.7.2/scripts/environment_check.sh | sudo bash joinTokenForOtherNodes=$(sudo cat /var/lib/rancher/k3s/server/node-token)