From: Marc Fiuczynski Date: Fri, 25 Jan 2008 13:30:18 +0000 (+0000) Subject: create the hda.raw disk image in the right directory X-Git-Tag: 2008-02-11-last-vmware-support~90 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f670ad9e3b8b2b3ad733250b2e71e0f97c010bdf;p=tests.git create the hda.raw disk image in the right directory --- diff --git a/system/template-Qemu/start-qemu-node b/system/template-Qemu/start-qemu-node index 463ee15..40692b1 100755 --- a/system/template-Qemu/start-qemu-node +++ b/system/template-Qemu/start-qemu-node @@ -27,14 +27,13 @@ if [ -e "$HDA" ]; then fi #Creating new HDA echo "Creating hard disk for Qemu install under $HDA" +cd ~/$NODE_DIR set $(qemu-img create $FILENAME 5G) if [ -z "$1" ];then echo "Can't Create disk image..." exit 1 fi shift $(($# - 1)) -#unfortunately :-( qemu-img don't accept a path for image but only filename -mv ~/$FILENAME $HDA echo "New $HDA is created..." #Command for running the Qemu Emulator