View Single Post
  #1  
Old 25th June 2009, 16:13
kumarullal kumarullal is offline
Junior Member
 
Join Date: Jun 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to convert a KVM image in to an openvz container in Proxmox?

Hi Falko,
I followed your article "How To Convert Physical Systems And Xen VMs Into OpenVZ Containers (Debian Etch)"
I need some clarification.
I am using proxmox. So KVM and openvz reside on the same system.
I have setup up a kvm image of centos based asterisk system just the way I want it. Now, I want to convert that into an openvz container.

so what should I do to apply your instructions in proxmox's context.

You instructions

" server1/server2:

apt-get install rsync

Now let's transfer server1's files to the OpenVZ container:

server2:

rsync -arvpz --numeric-ids --exclude dev --exclude proc --exclude tmp -e "ssh -l root@192.168.0.100" root@192.168.0.100:/ /vz/private/211/ "

After that is answered, what value should I put in your example
" vzctl set 211 --ostemplate debian-4.0-i386-minimal --save "

The Os is centos 5.

Thanks in advance
kumar

Last edited by kumarullal; 25th June 2009 at 16:18.
Reply With Quote
Sponsored Links