From e3b5d6046987096f96e7a9257c9f200edd25fcea Mon Sep 17 00:00:00 2001 From: Hans van Kranenburg Date: Sun, 7 Mar 2021 21:08:54 +0100 Subject: [PATCH] lxcbird/README: mention lxc storage differences Fixes: https://github.com/knorrie/network-examples/issues/12 --- lxcbird/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lxcbird/README.md b/lxcbird/README.md index 7b6d607..aabf459 100644 --- a/lxcbird/README.md +++ b/lxcbird/README.md @@ -123,6 +123,8 @@ Here's an example to create a first container, which we'll configure a bit and u lxcbird:/var/lib/lxc 0-# MIRROR=http://ftp.nl.debian.org/debian lxc-create -t debian -B btrfs -n birdbase -- -r buster +Note that I'm using a btrfs file system on my computer, and lxc is using btrfs snapshots to clone the containers. When using a different storage backend for lxc, e.g. ext4 and overlayfs, some of the details of placement of files may vary. It is left as exercise for the reader to deal with these small differences. + ### Configure the network and openvswitch up/down script In `birdbase/config`, lxc-create has put some basic configuration. The networking configuration has to be set up now, so we can test our connectivity and install some extra software. To be able to do so, I'm going to configure it with an IPv4 and IPv6 address in the range of vlan10, and point my default gateway to the lxc host system.