From d9265ddcdbf574781863eeeb5442591096d56e6a Mon Sep 17 00:00:00 2001 From: Lars Kellogg-Stedman Date: Mon, 7 Oct 2013 16:15:24 -0400 Subject: [PATCH] added -- possibly broken -- option for specying base image format --- virt-from | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/virt-from b/virt-from index 4d945c2..bff150b 100755 --- a/virt-from +++ b/virt-from @@ -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;;