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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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