don't really need to create the hda file under le local patch (for now)
authorTony Mack <tmack@cs.princeton.edu>
Tue, 22 Jan 2008 18:47:23 +0000 (18:47 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Tue, 22 Jan 2008 18:47:23 +0000 (18:47 +0000)
system/template-Qemu/env-qemu
system/template-Qemu/start-qemu-node

index 7979e16..4929d0d 100755 (executable)
@@ -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
index adec717..bcf17a7 100644 (file)
@@ -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