The missing lxc.network.* entries was caused by a typo in my lxc-create command. Sorry about that.
The 00:16:3e:xx:xx:xx was caused by the file /etc/lxc/default.conf. Commenting the lxc.network.hwaddr line was enough to fix this problem. Now lxc-create generates a unique mac-address for every container. Maybe the package maintainer would want to remove that line from /etc/lxc/default.conf. Thanks for reading. Norberto 2015-03-11 19:57 GMT-03:00 Norberto Bensa <nbensa+lxcus...@gmail.com>: > Hello, > > new containers (created with lxc-create) have either no network or the ip > address is not preserved between container reboots. > > Containers without network lack all lxc.network.* entries in the confg > file. > > Containers with random ip address have lxc.network.hwaddr = > 00:16:3e:xx:xx:xx > > Is this a known bug or am I supposed to configure these entries myself? > > > Host is Ubuntu 14.10. Up-to-date. > > LXC: 1.1.0~alpha2-0 > > Command to create the containers was simply: > $ lxc-create -t ubuntu -n testing -- -r trusty > > > Thanks! > Norbeto > >
_______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users