Browse Source

confirmed working change to mktemp command

pull/152/head
Spencer Smith 8 years ago
parent
commit
20adb604cc
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes/secrets/scripts/make-ssl.sh

2
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}"

Loading…
Cancel
Save