Update longhorn-K3S.sh

This commit is contained in:
tehNooB
2023-11-01 11:55:19 +00:00
committed by GitHub
parent e86f6ed30e
commit 2bccbfc0e3

View File

@@ -54,7 +54,7 @@ for newnode in "${storage[@]}"; do
--sudo \ --sudo \
--k3s-channel stable \ --k3s-channel stable \
--server-ip $master1 \ --server-ip $master1 \
--k3s-extra-args "--node-label "longhorn=true"" \ --k3s-extra-args "--node-label \"longhorn=true\"" \
--ssh-key $HOME/.ssh/id_rsa --ssh-key $HOME/.ssh/id_rsa
echo -e " \033[32;5mAgent node joined successfully!\033[0m" echo -e " \033[32;5mAgent node joined successfully!\033[0m"
done done