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:
parent
cb672e83d9
commit
ef1aa42cf9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user