[et-mgmt-tools] [PATCH 6/6] update virt-install options for specifying managed storage

Cole Robinson crobinso at redhat.com
Wed Aug 6 16:26:48 UTC 2008


The attached patch updates virt-install to allow specifying
libvirt managed storage.

--file can specified managed storage using:

- An absolute path to a managed volume
- A volume passed as --file volume:poolname:volname
- A pool to create storage on, using --file pool:poolname

--cdrom can use the first of the above two options (doesn't
make sense to create install media).

There is an obvious problem with this approach though:
Specifying pool:foo or volume:foo:bar could collide
with existing file names, and volume:foo:bar would
fail if the specified pool had a colon in it. This
was mostly my quick solution so I could test it all
out, i'm open to suggestions how to change it. Once an
interface is decided on I'll update the docs.

This is built on the patch to remove prompting from
virt-install, fyi.

Thanks,
Cole

-------------- next part --------------
A non-text attachment was scrubbed...
Name: virtinst-remote-06-virt-install-managed-storage.patch
Type: text/x-patch
Size: 6319 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20080806/7c5ba8d7/attachment.bin>


More information about the et-mgmt-tools mailing list