Ubuntu Forums Archive Viewer

LXC move bare metal system to an lxc container

Archived thread 2303105 from Fedora/RedHat and derivatives. Markdown source: FedoraRedHat_and_derivatives/thread_2303105_LXC_move_bare_metal_system_to_an_lxc_container.md

Original URL About this archive
#1

I have a CENTOS system running on a bare metal server. I would like to move it over to an LXC container. I followed this post https://www.snikt.net/blog/2014/03/22/convert-kvm-image-to-lxc-container/

And was able to get the system to boot and I could lxc-attach but I could not get ssh to startup and it is a FREEPBX install and the asterisk server would not start. Not getting any really good errors.

So my question is, how would one move a running bare metal system over to an LXC container?

Thanks in advance!!! -Mark

#2

Thread moved to the "* Fedora/RedHat and derivatives*" forum.