From f670ad9e3b8b2b3ad733250b2e71e0f97c010bdf Mon Sep 17 00:00:00 2001 From: Marc Fiuczynski Date: Fri, 25 Jan 2008 13:30:18 +0000 Subject: [PATCH] create the hda.raw disk image in the right directory --- system/template-Qemu/start-qemu-node | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.47.0