Don't hardcode username when copying ssh keys
This commit is contained in:
parent
84c769f96a
commit
2d740e3333
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue