mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
tm_mad/common/mkimage script finds the mkfs binary remotely
This commit is contained in:
1 parent
cb672e83d9
commit
ef1aa42cf9
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user