From 45b658ea7c3964f5854062a3a1acded26d100656 Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Mon, 20 Apr 2015 19:14:16 -0700 Subject: [PATCH] AWS: don't try to create undefined config_dir --- cluster/aws/util.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/cluster/aws/util.sh b/cluster/aws/util.sh index be86edb4fbc..eebd62cf667 100644 --- a/cluster/aws/util.sh +++ b/cluster/aws/util.sh @@ -615,7 +615,6 @@ function kube-up { # TODO: generate ADMIN (and KUBELET) tokens and put those in the master's # config file. Distribute the same way the htpasswd is done. ( - mkdir -p "${config_dir}" umask 077 ssh -oStrictHostKeyChecking=no -i "${AWS_SSH_KEY}" "ubuntu@${KUBE_MASTER_IP}" sudo cat /srv/kubernetes/kubecfg.crt >"${KUBE_CERT}" 2>"$LOG" ssh -oStrictHostKeyChecking=no -i "${AWS_SSH_KEY}" "ubuntu@${KUBE_MASTER_IP}" sudo cat /srv/kubernetes/kubecfg.key >"${KUBE_KEY}" 2>"$LOG"