1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

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

This commit is contained in:
Jan Orel 2019-02-06 11:32:07 +01:00 committed by Ruben S. Montero
parent 2e40c21d26
commit 95c7d8b502

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" || :