From afb5e8ceb734460558ed0f4f099871577b806bb3 Mon Sep 17 00:00:00 2001 From: Andy Lindeman Date: Mon, 30 Jan 2017 21:52:19 -0500 Subject: [PATCH] Exports KUBE_TEMP for use in Vagrantfile --- cluster/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/common.sh b/cluster/common.sh index 52c187c3f92..39cb0f0e217 100755 --- a/cluster/common.sh +++ b/cluster/common.sh @@ -314,7 +314,7 @@ function load-or-gen-kube-bearertoken() { # KUBE_TEMP function ensure-temp-dir { if [[ -z ${KUBE_TEMP-} ]]; then - KUBE_TEMP=$(mktemp -d -t kubernetes.XXXXXX) + export KUBE_TEMP=$(mktemp -d -t kubernetes.XXXXXX) trap 'rm -rf "${KUBE_TEMP}"' EXIT fi }