From eddc975582a63c47e3ecbdd696d4182241e3f41e Mon Sep 17 00:00:00 2001 From: Pedro Pombeiro Date: Thu, 23 Nov 2023 16:46:06 +0100 Subject: [PATCH] Fix location of ResolvConf option (#572) ResolvConf belongs in Exec section, otherwise an error results --- nspawn-container/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nspawn-container/README.md b/nspawn-container/README.md index 464ce66..fa77b85 100644 --- a/nspawn-container/README.md +++ b/nspawn-container/README.md @@ -77,11 +77,11 @@ Now that the container is created, let's configure it. Make sure you are back on [Exec] Boot=on Capability=all + ResolvConf=off [Network] Private=off VirtualEthernet=off - ResolvConf=off ``` * For a more isolated container configured with a macvlan bridge, follow [Step 2A](#step-2a-configure-the-container-to-use-an-isolated-macvlan-network) below instead before running the container. @@ -126,10 +126,10 @@ This configuration is only needed if you want to isolate the container's network ```ini [Exec] Boot=on + ResolvConf=off [Network] MACVLAN=br5 - ResolvConf=off ``` * Change br5 to brX where X = VLAN number you used in `10-setup-network.sh`.