Hi, I am a libvirt user , there is a requirement about libvirt : I need a virsh cmd like "#virsh *create-as* --disk --net " to create a very sample guest I have not xml file and I think it's a little hard for me to create a NEW xml for libvirt , so I need a virsh cmd like "vol-create-as " help me do that. I know there are a lot of options for creating a guest , I just need --disk and --net options , others libvirt can set a defaut value . I just want an easy way to create a guest :> Wenlong -- Best Regards! Wenlong Huang IRC Account: wenlong Phone: 62608117 / 15011214521 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120605/d9fa129b/attachment.htm>
On 06/05/2012 12:23 AM, whuang wrote:> Hi, > > I am a libvirt user , there is a requirement about libvirt : > I need a virsh cmd like "#virsh *create-as* --disk --net " to create a > very sample guest > I have not xml file and I think it's a little hard for me to create a > NEW xml for libvirt , so I need a virsh cmd like "vol-create-as " help > me do that. > I know there are a lot of options for creating a guest , I just need > --disk and --net options , others libvirt can set a defaut value . > I just want an easy way to create a guest :>I personally find it easier to use virt-manager or virt-install or gnome-boxes to create an initial guest template, then to modify that XML for any final tweaks before using the guest in earnest. I'm not sure how easy it would be to add guest templating directly into libvirt, nor whether it would be duplicating effort that has already been coded elsewhere. -- Eric Blake eblake at redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 620 bytes Desc: OpenPGP digital signature URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120606/887c2c2f/attachment.sig>
On Thu, Jun 7, 2012 at 12:38 AM, Eric Blake <eblake at redhat.com> wrote:> I personally find it easier to use virt-manager or virt-install or > gnome-boxes to create an initial guest template, then to modify that XML > for any final tweaks before using the guest in earnest.Right, but the lack of provisioning is a huge miss. Before to use a remote tool (libvirt), you must 1/ connect on the remote machine, 2/ create a xml file and 3/ define the domain.> how easy it would be to add guest templating directly into libvirt, nor > whether it would be duplicating effort that has already been coded > elsewhere.Integrating virt-install & virt-clone would be imho very good start point. -- Sebastien Douche <sdouche at gmail.com> Twitter: @sdouche / G+: +sdouche
Possibly Parallel Threads
- /dev/tty only on a new container
- Cannot connect to the existing LXC containers (console)
- [virt-tools-list] virt-make-fs: Partition 1 has different physical/logical beginnings and endings
- error message RFE
- "ext2: parent directory not found" with Ubuntu 12.04