Don't hardcode username when copying ssh keys

This commit is contained in:
Samuel Nitsche
2023-10-21 13:52:55 +02:00
committed by GitHub
parent 84c769f96a
commit 2d740e3333

View File

@@ -101,7 +101,7 @@ echo "StrictHostKeyChecking no" > ~/.ssh/config
#add ssh keys for all nodes
for node in "${all[@]}"; do
ssh-copy-id ubuntu@$node
ssh-copy-id $user@$node
done
# Step 1: Bootstrap First k3s Node