Skip to content

Commit

Permalink
fix: do not tee authorized keys
Browse files Browse the repository at this point in the history
  • Loading branch information
dmccaffery committed Jan 11, 2021
1 parent 9933384 commit 234411e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ cat cloud_init.cfg.template > cloud_init.cfg

# emit every user key into authorized keys
for user in $GH_USER; do
printf " - curl https://github.com/%s.keys | tee -a /home/kube-admin/.ssh/authorized_keys\n" "$user" >> cloud_init.cfg
printf " - curl https://github.com/%s.keys >> /home/kube-admin/.ssh/authorized_keys\n" "$user" >> cloud_init.cfg
done

# create a virtual machine
Expand Down

0 comments on commit 234411e

Please sign in to comment.