KVM to LXC converter script
- select stopped KVM container name:
Id Name State
--------------------------
- test34 shut off
- use that VM name as an argument to the script:
curl https://raw.githubusercontent.com/denisix/kvm-to-lxc/master/kvm-to-lxc.sh | sh test34
- script will do the rest:
- mount QCOW2 source container image
- create LXC container with the same name and using the same OS / version
- sync rootfs
- fix permissions, etc
- umount QCOW2
- start LXC (DONE)