From f1603a0213a5cbfee662cd1fdf81731ea93d44c9 Mon Sep 17 00:00:00 2001 From: Julian Strobl Date: Mon, 7 Dec 2015 16:35:02 +0100 Subject: [PATCH] take all ssh public keys into account For those of us, who do not use the default ssh naming scheme. --- cluster/libvirt-coreos/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/libvirt-coreos/util.sh b/cluster/libvirt-coreos/util.sh index fa6a4bc7312..80159a49b93 100644 --- a/cluster/libvirt-coreos/util.sh +++ b/cluster/libvirt-coreos/util.sh @@ -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