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:
d0b8234
)
create the disk image at the right place
author
Tony Mack
<tmack@cs.princeton.edu>
Tue, 22 Jan 2008 17:03:32 +0000
(17:03 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Tue, 22 Jan 2008 17:03:32 +0000
(17:03 +0000)
system/template-Qemu/env-qemu
patch
|
blob
|
history
diff --git
a/system/template-Qemu/env-qemu
b/system/template-Qemu/env-qemu
index
4929d0d
..
7979e16
100755
(executable)
--- a/
system/template-Qemu/env-qemu
+++ b/
system/template-Qemu/env-qemu
@@
-107,7
+107,10
@@
start () {
rm -rf hda_5.raw
fi
echo "Creating hard disk for Qemu install..."
- set $(qemu-img create hda_5.raw 5G) >/dev/null
+ set $(pwd)
+ local_path=$1
+ shift $(($# - 1))
+ set $(qemu-img create $local_path/hda_5.raw 5G) >/dev/null
if [ -z "$1" ];then
echo "Can't Create disk image..."
fi