[Lxc-users] Converting existing CentOS 6.x to container within Ubuntu 12.04 - can that be simple?

Fajar A. Nugraha list at fajar.net
Thu Nov 1 13:58:13 UTC 2012


On Thu, Nov 1, 2012 at 8:47 PM, Whit Blauvelt <whit at transpect.com> wrote:

> The host is an ESXi VMware VM (currently CentOS 6, but
> could be Ubuntu 12.04 if helpful).

Ubuntu will definitely be easier. It has new-enough lxc version, plus
you won't have selinux fiasco (search the list archive for details).

> The CentOS 6 guest on that host needs to
> end up with a unique IP on the VMware LAN.

Sure. Easy.

> But ... can it be done? Looking at this page,
> http://wiki.1tux.org/wiki/Ubuntu/Bridge, it's not clear if it can be.

Sure you can.

http://wiki.1tux.org/wiki/Ubuntu/Bridge#Bridging_a_real_network_interface

It that setup, both the host (the example assumes ubuntu host) and the
containers which uses that bridge will be on the same LAN, getting IP
address from the same DHCP server (whatever that is) on that network.

-- 
Fajar




More information about the lxc-users mailing list