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] [Exec]
Boot=on Boot=on
Capability=CAP_NET_RAW Capability=CAP_NET_RAW
ResolvConf=off
Environment=INTERFACES="br0 br50" Environment=INTERFACES="br0 br50"
Environment=OPTS= Environment=OPTS=
[Network] [Network]
Private=off Private=off
VirtualEthernet=off VirtualEthernet=off
ResolvConf=off
``` ```
Once that file is in place, you're ready to enable the container on boot and run it. Once that file is in place, you're ready to enable the container on boot and run it.