Vasiliy Tolstov
2015-Jan-28 09:57 UTC
Re: [libvirt-users] redistribute virtual machines from vps hosting to end users
2015-01-28 12:47 GMT+03:00 Kashyap Chamarthy <kchamart@redhat.com>:> I don't have immediate steps with `virt-manager` as I don't use it much > in my workflow. But if you have users who're comfortable with CLI, you > can import disk images into libvirt (and which will also be accessible > via `virt-manager`) tribvially: > > $ virt-install --name f21vm --ram 2048 \ > --diskpath=/export/f21vm.qcow2,format=qcow2,cache=writeback \ > --nographics --os-variant fedora21 --import > > (The above has the option '--nographics' because, it's just a small, > server image, but still - when the image is imported into libvirt, it > should be accessible via virt-manager, albiet a headless server.)I can provide single line command for end users... In case of virt-install can i provide xml for domain while import ? For example i can generate xml with minimal memory/devices needs to be present.. -- Vasiliy Tolstov, e-mail: v.tolstov@selfip.ru jabber: vase@selfip.ru
Kashyap Chamarthy
2015-Jan-28 11:09 UTC
Re: [libvirt-users] redistribute virtual machines from vps hosting to end users
On Wed, Jan 28, 2015 at 01:57:28PM +0400, Vasiliy Tolstov wrote:> 2015-01-28 12:47 GMT+03:00 Kashyap Chamarthy <kchamart@redhat.com>: > > I don't have immediate steps with `virt-manager` as I don't use it much > > in my workflow. But if you have users who're comfortable with CLI, you > > can import disk images into libvirt (and which will also be accessible > > via `virt-manager`) tribvially: > > > > $ virt-install --name f21vm --ram 2048 \ > > --diskpath=/export/f21vm.qcow2,format=qcow2,cache=writeback \ > > --nographics --os-variant fedora21 --import > > > > (The above has the option '--nographics' because, it's just a small, > > server image, but still - when the image is imported into libvirt, it > > should be accessible via virt-manager, albiet a headless server.) > > > I can provide single line command for end users... > In case of virt-install can i provide xml for domain while import ?I don't think `virt-install` itself can import an XML (although, it can print a XML via the '--print-xml' option, look up the man page for this). If the users have the disk images in the right place, you can provide the guest XML, and the users can define it using: $ sudo virsh define uservm.xml> For example i can generate xml with minimal memory/devices needs to be > present.. >-- /kashyap
Vasiliy Tolstov
2015-Jan-29 15:18 UTC
Re: [libvirt-users] redistribute virtual machines from vps hosting to end users
2015-01-28 14:09 GMT+03:00 Kashyap Chamarthy <kchamart@redhat.com>:> I don't think `virt-install` itself can import an XML (although, it can > print a XML via the '--print-xml' option, look up the man page for > this). If the users have the disk images in the right place, you can > provide the guest XML, and the users can define it using: > > $ sudo virsh define uservm.xmlNice. Thanks =). -- Vasiliy Tolstov, e-mail: v.tolstov@selfip.ru jabber: vase@selfip.ru
Possibly Parallel Threads
- Re: redistribute virtual machines from vps hosting to end users
- Re: redistribute virtual machines from vps hosting to end users
- redistribute virtual machines from vps hosting to end users
- Re: redistribute virtual machines from vps hosting to end users
- directmedia/canreinvite/native bridging question