2
0
mirror of https://github.com/knorrie/network-examples synced 2025-08-30 14:08:36 +00:00

lxcbird/README: update for Debian Buster

This commit is contained in:
Paul Warren 2020-08-20 21:31:40 +10:00 committed by Hans van Kranenburg
parent 77768c44e0
commit 27d24018ae

View File

@ -129,16 +129,16 @@ In `birdbase/config`, lxc-create has put some basic configuration. The networkin
In the config file, instead of...
lxc.network.type = empty
lxc.net.0.type = empty
...it should look more like this...
lxc.network.type = veth
lxc.network.name = vlan10
lxc.network.veth.pair = birdbase.10
lxc.network.flags = up
lxc.network.script.up = /etc/lxc/lxc-openvswitch
lxc.network.script.down = /etc/lxc/lxc-openvswitch
lxc.net.0.type = veth
lxc.net.0.name = vlan10
lxc.net.0.veth.pair = birdbase.10
lxc.net.0.flags = up
lxc.net.0.script.up = /etc/lxc/lxc-openvswitch
lxc.net.0.script.down = /etc/lxc/lxc-openvswitch
...and also, if you don't have apparmor stuff set up (apparently I haven't), then you can disable all of that by changing the following option to 'unconfined'. It took me a bit to figure this out, based on only a "No such file or directory" error I got:
@ -284,7 +284,7 @@ Before the birdbase container is ready as a template to be used for cloning othe
lxcbird:/var/lib/lxc 1-# lxc-stop -n birdbase
lxcbird:/var/lib/lxc 1-# sed -i /^lxc.network/d birdbase/config
lxcbird:/var/lib/lxc 1-# sed -i /^lxc.net/d birdbase/config
lxcbird:/var/lib/lxc 1-# > birdbase/rootfs/etc/bird/bird.conf
lxcbird:/var/lib/lxc 1-# > birdbase/rootfs/etc/bird/bird6.conf
lxcbird:/var/lib/lxc 1-# > birdbase/rootfs/etc/network/interfaces