Update k3s.sh

This commit is contained in:
tehNooB 2024-03-17 21:21:42 +00:00 committed by GitHub
parent 682903d285
commit d9f81a1900
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -98,7 +98,7 @@ else
fi fi
# Create SSH Config file to ignore checking (don't use in production!) # Create SSH Config file to ignore checking (don't use in production!)
echo "StrictHostKeyChecking no" > ~/.ssh/config sed -i '1s/^/StrictHostKeyChecking no\n/' ~/.ssh/config
#add ssh keys for all nodes #add ssh keys for all nodes
for node in "${all[@]}"; do for node in "${all[@]}"; do
@ -257,4 +257,4 @@ kubectl get pods \
kubectl get nodes kubectl get nodes
kubectl get svc -n longhorn-system kubectl get svc -n longhorn-system
echo -e " \033[32;5mHappy Kubing! Access Longhorn through Rancher UI\033[0m" echo -e " \033[32;5mHappy Kubing! Access Longhorn through Rancher UI\033[0m"