1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

tm_mad/common/mkimage script finds the mkfs binary remotely

This commit is contained in:
Jaime Melis 2012-03-22 10:12:26 +01:00
parent cb672e83d9
commit ef1aa42cf9

View File

@ -49,6 +49,7 @@ ssh_make_path $DST_HOST $DST_DIR
MKFS_CMD=`mkfs_command $DST_PATH $FSTYPE`
MKSCRIPT=$(cat <<EOF
export PATH=/usr/sbin:/sbin:\$PATH
$DD if=/dev/zero of=$DST_PATH bs=1 count=1 seek=${SIZE}M
$MKFS_CMD
EOF