[lxc-devel] Centos 7

CDR venefax at gmail.com
Fri Jul 18 11:16:35 UTC 2014


Dear friends
I moved a working container from Ubuntu 14.04 to Centos 7, and
networking does not work.
Previously, I had compiled and installed LXC from git, make rpm:

rpm -qa | grep lxc
lxc-debuginfo-1.1.0-0.1.alpha1.el7.centos.x86_64
lxc-1.1.0-0.1.alpha1.el7.centos.x86_64
lxc-libs-1.1.0-0.1.alpha1.el7.centos.x86_64
lxc-devel-1.1.0-0.1.alpha1.el7.centos.x86_64
libvirt-daemon-driver-lxc-1.1.1-29.el7.x86_64

The container's network definition is

lxc.network.type=macvlan
lxc.network.macvlan.mode=bridge
lxc.network.link=eth0
lxc.network.name = eth0
lxc.network.flags = up
lxc.network.hwaddr = 00:D0:41:7B:B7:D5
lxc.network.ipv4 = 0.0.0.0/24

I checked with lxc-checkconfig and everything is green

Also, lxc.autodev = 1

Since Centos 7 is going to be the most popular free OS soon, we should
make this work.

Philip


More information about the lxc-devel mailing list