From 9aba2f148364f9def4070d69d13e51bf87e7a427 Mon Sep 17 00:00:00 2001 From: Daniel Correa Lobato Date: Mon, 7 Feb 2022 04:25:24 -0300 Subject: [PATCH] Update README.md (#324) Fix issue #309 --- run-pihole/README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/run-pihole/README.md b/run-pihole/README.md index 11ed6ca..b7a2b20 100644 --- a/run-pihole/README.md +++ b/run-pihole/README.md @@ -20,8 +20,12 @@ 1. Copy [05-install-cni-plugins.sh](../cni-plugins/05-install-cni-plugins.sh) to /mnt/data/on_boot.d 1. Execute /mnt/data/on_boot.d/05-install-cni-plugins.sh 1. On your controller, make a Corporate network with no DHCP server and give it a VLAN. For this example we are using VLAN 5. -1. Copy [20-dns.conflist](../cni-plugins/20-dns.conflist) to /mnt/data/podman/cni. This will create your podman macvlan network -1. Copy [10-dns.sh](../dns-common/on_boot.d/10-dns.sh) to /mnt/data/on_boot.d and update its values to reflect your environment +1. Copy [20-dns.conflist](../cni-plugins/20-dns.conflist) to /etc/cni/net.d. This will create your podman macvlan network +```shell +podman network create dns +curl -L https://github.com/boostchicken-dev/udm-utilities/raw/master/cni-plugins/20-dns.conflist -o /etc/cni/net.d/dns.conflist +``` +5. Copy [10-dns.sh](../dns-common/on_boot.d/10-dns.sh) to /mnt/data/on_boot.d and update its values to reflect your environment ``` ... @@ -33,7 +37,7 @@ ... ``` -1. Execute /mnt/data/on_boot.d/10-dns.sh +6. Execute /mnt/data/on_boot.d/10-dns.sh 1. Create directories for persistent Pi-hole configuration ```