From 20adb604ccb40332257d4473c77cc4592c192d2c Mon Sep 17 00:00:00 2001 From: Spencer Smith Date: Thu, 18 Feb 2016 15:56:10 -0500 Subject: [PATCH] confirmed working change to mktemp command --- roles/kubernetes/secrets/scripts/make-ssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes/secrets/scripts/make-ssl.sh b/roles/kubernetes/secrets/scripts/make-ssl.sh index fb6ab146f..a2f698541 100755 --- a/roles/kubernetes/secrets/scripts/make-ssl.sh +++ b/roles/kubernetes/secrets/scripts/make-ssl.sh @@ -54,7 +54,7 @@ if [ -z ${SSLDIR} ]; then SSLDIR="/etc/kubernetes/certs" fi -tmpdir=$(mktemp -d --tmpdir kubernetes_cacert.XXXXXX) +tmpdir=$(mktemp -d /tmp/kubernetes_cacert.XXXXXX) trap 'rm -rf "${tmpdir}"' EXIT cd "${tmpdir}"