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=
This commit is contained in:
Pedro Pombeiro 2023-11-23 16:45:45 +01:00 committed by GitHub
parent eae733fc76
commit 695f3d22f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
```
```