mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
Fix location of ResolvConf option (#572)
ResolvConf belongs in Exec section, otherwise an error results
This commit is contained in:
parent
695f3d22f9
commit
eddc975582
@ -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`.
|
||||||
|
Loading…
Reference in New Issue
Block a user