don't unpack salt in tmpfs

This commit is contained in:
Mike Danese 2015-11-29 18:36:38 -08:00
parent c1af9dcb7f
commit 7c413790df

View File

@ -38,7 +38,7 @@ if [[ -z "$SERVER_BIN_TAR" ]]; then
fi fi
# Create a temp dir for untaring # Create a temp dir for untaring
KUBE_TEMP=$(mktemp -d -t kubernetes.XXXXXX) KUBE_TEMP=$(mktemp --tmpdir=/srv -d -t kubernetes.XXXXXX)
trap 'rm -rf "${KUBE_TEMP}"' EXIT trap 'rm -rf "${KUBE_TEMP}"' EXIT
# This file is meant to run on the master. It will install the salt configs # This file is meant to run on the master. It will install the salt configs