mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-14 06:15:45 +00:00
take all ssh public keys into account
For those of us, who do not use the default ssh naming scheme.
This commit is contained in:
parent
dd71deb772
commit
f1603a0213
@ -205,7 +205,7 @@ function kube-up {
|
||||
set_service_accounts
|
||||
initialize-network
|
||||
|
||||
readonly ssh_keys="$(cat ~/.ssh/id_*.pub | sed 's/^/ - /')"
|
||||
readonly ssh_keys="$(cat ~/.ssh/*.pub | sed 's/^/ - /')"
|
||||
readonly kubernetes_dir="$POOL_PATH/kubernetes"
|
||||
|
||||
local i
|
||||
|
Loading…
Reference in New Issue
Block a user