LXC : how to convert a host/vm to a container
As you can see, I write more and more posts on LXC. The latest thing I worked on, was how to convert a host/vm to a LXC container. I needed to write a script for it as I didn’t find what I needed.
The script will remove unneeded elements in a Debian system, removing folders (dev,proc,sys), recreate devices and configure etc files. You can find more informations by following the link.
I’ve started to convert my KVM images with it and it works perfectly :-). Do not hesitate to contact me/reply to that post if somethings wrong.