mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2025-10-02 16:36:17 +00:00
Don't hardcode username when copying ssh keys
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user