diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-02-17 10:10:20 +0000 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-02-22 09:50:04 +0100 |
commit | eb769f74205e0906bdb45eeeb332c40b50b1dcb7 (patch) | |
tree | f75ced29889c4734b0c92ec0d2f9cff4574a9032 /qemu-img.texi | |
parent | 77c9aaefd7dca5de26476852055d4acc66985c90 (diff) | |
download | qemu-eb769f74205e0906bdb45eeeb332c40b50b1dcb7.tar.gz qemu-eb769f74205e0906bdb45eeeb332c40b50b1dcb7.tar.bz2 qemu-eb769f74205e0906bdb45eeeb332c40b50b1dcb7.zip |
qemu-img: allow specifying image as a set of options args
Currently qemu-img allows an image filename to be passed on the
command line, but unless using the JSON format, it does not have
a way to set any options except the format eg
qemu-img info https://127.0.0.1/images/centos7.iso
This adds a --image-opts arg that indicates that the positional
filename should be interpreted as a full option string, not
just a filename.
qemu-img info --image-opts driver=https,url=https://127.0.0.1/images,sslverify=off
This flag is mutually exclusive with the '-f' / '-F' flags.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-img.texi')
-rw-r--r-- | qemu-img.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qemu-img.texi b/qemu-img.texi index 9e4754306a..afaebdd408 100644 --- a/qemu-img.texi +++ b/qemu-img.texi @@ -32,6 +32,12 @@ page for a description of the object properties. The most common object type is a @code{secret}, which is used to supply passwords and/or encryption keys. +@item --image-opts + +Indicates that the @var{filename} parameter is to be interpreted as a +full option string, not a plain filename. This parameter is mutually +exclusive with the @var{-f} and @var{-F} parameters. + @item fmt is the disk image format. It is guessed automatically in most cases. See below for a description of the supported disk formats. |