LXC knows the following configurations locations:
/etc/lxc/*
/srv/lxc/containers/*/config
Other locations:
/etc/lxc/debconfig
which is maintained on git.its.bfh.ch/etc/lxc/auto
/usr/share/lxc/packages
/usr/share/lxc/templates
echo "net.ipv4.ip_forward = 1" > /etc/sysctl.d/ip_foward.conf
sysctl -p
# /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet manual
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_fd 0
bridge_hello 0
bridge_maxwait 0
bridge_stp 0
# /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet manual
# standalone: 192.168.0.2
auto br0
iface br0 inet static
address 192.168.0.2
broadcast 192.168.0.255
gateway 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
pre-up ifconfig eth0 down
pre-up ifconfig eth0 up
bridge_ports eth0
bridge_fd 0
bridge_hello 0
bridge_maxwait 0
bridge_stp 0
#/etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet manual
# subnet: 192.168.0.1/24
auto br0
iface br0 inet static
address 192.168.0.1
broadcast 192.168.0.255
netmask 255.255.255.0
network 192.168.0.0
pre-up brctl addbr br0
post-down brctl delbr br0
bridge_fd 0
bridge_hello 0
bridge_maxwait 0
bridge_stp 0