f #2353 Fixup missing PATH for mkswap (#2898)

This commit is contained in:
Jan Orel authored and Ruben S. Montero committed 2019-02-06 11:32:07 +01:00
1 parent 2e40c21d26
commit 95c7d8b502
1 file changed
+2
+2
View File
@@ -76,6 +76,8 @@ exclusive "${LOCK}" 120 ssh_exec_and_log "$DST_HOST" "$CREATE_CMD" \
MKIMAGE_CMD=$(cat <<EOF
set -e -o pipefail
export PATH=/usr/sbin:/sbin:\$PATH
mkdir -p $DST_DIR
hostname -f >"${DST_DIR}/.host" || :