From 695f3d22f9fa8245d60d2a44a36402ae27478417 Mon Sep 17 00:00:00 2001 From: Pedro Pombeiro Date: Thu, 23 Nov 2023 16:45:45 +0100 Subject: [PATCH] Fix location of ResolvConf option (#573) `ResolvConf` belongs in `Exec` section, otherwise an error results. See https://www.freedesktop.org/software/systemd/man/systemd.nspawn.html#ResolvConf= --- nspawn-container/examples/multicast-relay/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nspawn-container/examples/multicast-relay/README.md b/nspawn-container/examples/multicast-relay/README.md index 73016b8..10f1990 100644 --- a/nspawn-container/examples/multicast-relay/README.md +++ b/nspawn-container/examples/multicast-relay/README.md @@ -80,13 +80,13 @@ Optionally, you can specify additional `multicast-relay` options in `OPTS` [Exec] Boot=on Capability=CAP_NET_RAW +ResolvConf=off Environment=INTERFACES="br0 br50" Environment=OPTS= [Network] Private=off VirtualEthernet=off -ResolvConf=off ``` Once that file is in place, you're ready to enable the container on boot and run it. @@ -146,4 +146,4 @@ INVOCATION_ID=d1cfaf43a00b4e79bcddca6a1595837c JOURNAL_STREAM=8:51317778 SYSTEMD_EXEC_PID=47 INTERFACES=br0 br50 -``` \ No newline at end of file +```