Skip to content

denisix/kvm-to-lxc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

kvm-to-lxc

KVM to LXC converter script

Usage:

  1. select stopped KVM container name:
 Id   Name      State
--------------------------
 -    test34    shut off
  1. 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

  1. 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)

About

KVM to LXC converter script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages