From: Tony Mack Date: Tue, 22 Jan 2008 18:47:23 +0000 (+0000) Subject: don't really need to create the hda file under le local patch (for now) X-Git-Tag: 2008-02-11-last-vmware-support~120 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d44b14c53cb32b097d43a56b64e37aa8d055c9e7;p=tests.git don't really need to create the hda file under le local patch (for now) --- diff --git a/system/template-Qemu/env-qemu b/system/template-Qemu/env-qemu index 7979e16..4929d0d 100755 --- a/system/template-Qemu/env-qemu +++ b/system/template-Qemu/env-qemu @@ -107,10 +107,7 @@ start () { rm -rf hda_5.raw fi echo "Creating hard disk for Qemu install..." - set $(pwd) - local_path=$1 - shift $(($# - 1)) - set $(qemu-img create $local_path/hda_5.raw 5G) >/dev/null + set $(qemu-img create hda_5.raw 5G) >/dev/null if [ -z "$1" ];then echo "Can't Create disk image..." fi diff --git a/system/template-Qemu/start-qemu-node b/system/template-Qemu/start-qemu-node index adec717..bcf17a7 100644 --- a/system/template-Qemu/start-qemu-node +++ b/system/template-Qemu/start-qemu-node @@ -18,7 +18,7 @@ shift $(($# -1)) # qemu parameters RAM=320; -TAP="tap,script=${NODE_DIR}/qemu-ifup.sh"; +TAP="tap,script=${NODE_DIR}/qemu-ifup"; echo $NODE_DIR #check for the creation of new HDA if [ -e "$HDA" ]; then