3
DEBIAN_FRONTEND=noninteractive apt-get -qy -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install lxc < /dev/null
5
sed -e 's/^USE_LXC_BRIDGE="true"/USE_LXC_BRIDGE="false"/' -i /etc/default/lxc
6
service lxc-net restart
9
mv /etc/network/interfaces.d/eth0.cfg /etc/network/interfaces.d/eth0.cfg.bak
10
cat <<-"EOF" > /etc/network/interfaces.d/bridge.cfg
12
iface eth0 inet manual
15
iface lxcbr0 inet dhcp