git://git.onelab.eu
/
tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a304db5
)
create the hda.raw disk image in the right directory
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Fri, 25 Jan 2008 13:30:18 +0000
(13:30 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Fri, 25 Jan 2008 13:30:18 +0000
(13:30 +0000)
system/template-Qemu/start-qemu-node
patch
|
blob
|
history
diff --git
a/system/template-Qemu/start-qemu-node
b/system/template-Qemu/start-qemu-node
index
463ee15
..
40692b1
100755
(executable)
--- 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