commands:
sudo rm -fr /var/cache/lxc/oneiric sudo lxc-create -t ubuntu -n test -f /etc/lxc/local.conf -- -r oneiric -a i386
errors during creation are shown only when container cache is bootstrapped (but the problem is still there also when the cache is just copied)
in the host:
cat /etc/network/interfaces
# The loopback network interface auto lo iface lo inet loopback
auto br0 iface br0 inet dhcp bridge_ports eth0
cat /etc/lxc/local.conf
lxc.network.type=veth lxc.network.link=br0 lxc.network.flags=up lxc.arch=i686
resolvconf is not insatalled in the host either (as per default) as currently does not behave as expected
in the container:
auto lo iface lo inet loopback
auto eth0 iface eth0 inet dhcp
if I remove resolvconf from oneiric extra packages in /usr/lib/lxc/templates/lxc-ubuntu everything works properly.
commands:
sudo rm -fr /var/cache/ lxc/oneiric
sudo lxc-create -t ubuntu -n test -f /etc/lxc/local.conf -- -r oneiric -a i386
errors during creation are shown only when container cache is bootstrapped (but the problem is still there also when the cache is just copied)
in the host:
cat /etc/network/ interfaces
# The loopback network interface
auto lo
iface lo inet loopback
auto br0
iface br0 inet dhcp
bridge_ports eth0
cat /etc/lxc/local.conf
lxc.network. type=veth link=br0 flags=up
lxc.network.
lxc.network.
lxc.arch=i686
resolvconf is not insatalled in the host either (as per default) as currently does not behave as expected
in the container:
cat /etc/network/ interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
if I remove resolvconf from oneiric extra packages in /usr/lib/ lxc/templates/ lxc-ubuntu everything works properly.