Fix location of ResolvConf option (#572)

ResolvConf belongs in Exec section, otherwise an error results
This commit is contained in:
Pedro Pombeiro 2023-11-23 16:46:06 +01:00 committed by GitHub
parent 695f3d22f9
commit eddc975582
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,11 +77,11 @@ Now that the container is created, let's configure it. Make sure you are back on
[Exec] [Exec]
Boot=on Boot=on
Capability=all Capability=all
ResolvConf=off
[Network] [Network]
Private=off Private=off
VirtualEthernet=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. * 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 ```ini
[Exec] [Exec]
Boot=on Boot=on
ResolvConf=off
[Network] [Network]
MACVLAN=br5 MACVLAN=br5
ResolvConf=off
``` ```
* Change br5 to brX where X = VLAN number you used in `10-setup-network.sh`. * Change br5 to brX where X = VLAN number you used in `10-setup-network.sh`.