projects
/
platform
/
upstream
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ba5fb3
)
add separate --vm-type and --vm-disk options
author
Ludwig Nussel
<ludwig.nussel@suse.de>
Thu, 29 Apr 2010 09:00:44 +0000
(11:00 +0200)
committer
Ludwig Nussel
<ludwig.nussel@suse.de>
Thu, 29 Apr 2010 14:08:22 +0000
(16:08 +0200)
build
patch
|
blob
|
history
diff --git
a/build
b/build
index
36cfbd2
..
91e9e38
100755
(executable)
--- a/
build
+++ b/
build
@@
-753,6
+753,23
@@
while test -n "$1"; do
--lxc)
VM_TYPE=${PARAM##*-}
;;
+ --vm-type)
+ needarg
+ VM_TYPE="$ARG"
+ case "$VM_TYPE" in
+ xen|kvm|uml|qemu|lxc) ;;
+ *)
+ echo "VM $VM_TYPE not supported"
+ cleanup_and_exit
+ ;;
+ esac
+ shift
+ ;;
+ --vm-disk)
+ needarg
+ VM_IMAGE="$ARG"
+ shift
+ ;;
*-xenswap|*-swap)
needarg
VM_SWAP="$ARG"