mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2025-08-14 09:22:21 +00:00
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
|
#add ssh keys for all nodes
|
||||||
for node in "${all[@]}"; do
|
for node in "${all[@]}"; do
|
||||||
ssh-copy-id ubuntu@$node
|
ssh-copy-id $user@$node
|
||||||
done
|
done
|
||||||
|
|
||||||
# Step 1: Bootstrap First k3s Node
|
# Step 1: Bootstrap First k3s Node
|
||||||
|
Loading…
x
Reference in New Issue
Block a user