man: Document --disk $URL format

This commit is contained in:
Cole Robinson 2014-12-10 13:19:19 -05:00
parent 0370d3b796
commit 8a96406902
2 changed files with 5 additions and 1 deletions

View File

@ -540,6 +540,10 @@ Specifying a non-existent path implies attempting to create the new storage,
and will require specifying a 'size' value. Even for remote hosts, virt-install
will try to use libvirt storage APIs to automatically create the given path.
If the hypervisor supports it, B<path> can also be a network URL, like
http://example.com/some-disk.img . For network paths, they hypervisor will
directly access the storage, nothing is downloaded locally.
=item B<pool>
An existing libvirt storage pool name to create new storage on. Requires

View File

@ -660,7 +660,7 @@ def add_disk_option(stog, editexample=False):
stog.add_argument("--disk", action="append",
help=_("Specify storage with various options. Ex.\n"
"--disk size=10 (new 10GiB image in default location)\n"
"--disk path=/my/existing/disk,cache=none\n"
"--disk /my/existing/disk,cache=none\n"
"--disk device=cdrom,bus=scsi\n"
"--disk=?") + editmsg)