fix: run Longhorn environment check script with sudo in setup scripts

This commit is contained in:
biersoeckli
2025-12-11 14:24:27 +00:00
parent e5eb1efec7
commit a0694ee26a
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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)