From 27d24018ae985076a5c89d8ca77a877935f4d419 Mon Sep 17 00:00:00 2001 From: Paul Warren Date: Thu, 20 Aug 2020 21:31:40 +1000 Subject: [PATCH] lxcbird/README: update for Debian Buster --- lxcbird/README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lxcbird/README.md b/lxcbird/README.md index c98222f..01c0246 100644 --- a/lxcbird/README.md +++ b/lxcbird/README.md @@ -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