Skip to content

Commit

Permalink
added -- possibly broken -- option for specying base image format
Browse files Browse the repository at this point in the history
  • Loading branch information
larsks committed Oct 7, 2013
1 parent 59284d9 commit d9265dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion virt-from
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ usage () {
echo "$0: usage: $0 [ -r ram ] [ -s disksize ] [ -I ] name"
}

while getopts r:s:w:Ihf ch; do
while getopts r:s:w:IhfQ ch; do
case $ch in
(r) ram=$OPTARG;;
(s) disksize=$OPTARG;;
(I) no_instance=1;;
(w) VIRT_INSTALL_ARGS="$VIRT_INSTALL_ARGS -w $OPTARG";;
(f) force=1;;
(Q) base_format=qcow2;;

(h) usage; exit;;
(\?) usage >&2; exit 2;;
Expand Down

0 comments on commit d9265dd

Please sign in to comment.