mirror of
https://github.com/biersoeckli/QuickStack.git
synced 2026-02-10 21:49:19 -06:00
fix: run Longhorn environment check script with sudo in setup scripts
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user