confirmed working change to mktemp command
This commit is contained in:
parent
57a1ce28c4
commit
20adb604cc
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ if [ -z ${SSLDIR} ]; then
|
||||||
SSLDIR="/etc/kubernetes/certs"
|
SSLDIR="/etc/kubernetes/certs"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tmpdir=$(mktemp -d --tmpdir kubernetes_cacert.XXXXXX)
|
tmpdir=$(mktemp -d /tmp/kubernetes_cacert.XXXXXX)
|
||||||
trap 'rm -rf "${tmpdir}"' EXIT
|
trap 'rm -rf "${tmpdir}"' EXIT
|
||||||
cd "${tmpdir}"
|
cd "${tmpdir}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue