mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-23 17:34:21 +03:00
man: Document --disk $URL format
This commit is contained in:
parent
0370d3b796
commit
8a96406902
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user