Vasiliy Tolstov
2015-Jan-27 22:32 UTC
[libvirt-users] redistribute virtual machines from vps hosting to end users
Hi. I need to get ability to download backups of kvm virtual machines (raw images) to end users. Virtualbox users can import ovs images, that i can create, but in case of linux and virt-manager - how users can import images and simply run it? I think about newbie linux users, that can install virt-manager under ubuntu via graphical package manager and do some easy steps... Can you share me info how can i do needed things ?=)Or may be some admins/users already solve this kind of "problems"... -- Vasiliy Tolstov, e-mail: v.tolstov@selfip.ru jabber: vase@selfip.ru
Kashyap Chamarthy
2015-Jan-28 09:47 UTC
Re: [libvirt-users] redistribute virtual machines from vps hosting to end users
On Wed, Jan 28, 2015 at 02:32:12AM +0400, Vasiliy Tolstov wrote:> Hi. I need to get ability to download backups of kvm virtual machines > (raw images) to end users. Virtualbox users can import ovs images, > that i can create, but in case of linux and virt-manager - how users > can import images and simply run it? > I think about newbie linux users, that can install virt-manager under > ubuntu via graphical package manager and do some easy steps... > > Can you share me info how can i do needed things ?=)Or may be some > admins/users already solve this kind of "problems"...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.) -- /kashyap
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
Eric Blake
2015-Jan-28 16:48 UTC
Re: [libvirt-users] redistribute virtual machines from vps hosting to end users
On 01/27/2015 03:32 PM, Vasiliy Tolstov wrote:> Hi. I need to get ability to download backups of kvm virtual machines > (raw images) to end users. Virtualbox users can import ovs images, > that i can create, but in case of linux and virt-manager - how users > can import images and simply run it?Look at virt-builder, part of libguestfs: http://libguestfs.org/virt-builder.1.html -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Vasiliy Tolstov
2015-Jan-29 15:18 UTC
Re: [libvirt-users] redistribute virtual machines from vps hosting to end users
2015-01-28 19:48 GMT+03:00 Eric Blake <eblake@redhat.com>:> Look at virt-builder, part of libguestfs: > > http://libguestfs.org/virt-builder.1.htmlThanks -- 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
- create ovs port without root
- Re: redistribute virtual machines from vps hosting to end users
- Re: redistribute virtual machines from vps hosting to end users
- virtio-serial port that listens tcp socket on host