From 5e7b483159c064b79f9de59a9decf09679c52223 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 10 Mar 2021 22:44:51 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20Fix=20host=20configuration,=20re?= =?UTF-8?q?move=20netmask=20(#130)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adguard/rootfs/etc/cont-init.d/adguard.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adguard/rootfs/etc/cont-init.d/adguard.sh b/adguard/rootfs/etc/cont-init.d/adguard.sh index 7ff5bea..944baa8 100644 --- a/adguard/rootfs/etc/cont-init.d/adguard.sh +++ b/adguard/rootfs/etc/cont-init.d/adguard.sh @@ -19,5 +19,5 @@ yq write --inplace "${CONFIG}" \ host=$(bashio::network.ipv4_address) yq write --inplace "${CONFIG}" \ - 'dns.bind_host' "${host}" \ + 'dns.bind_host' "${host%/*}" \ || hass.exit.nok 'Failed updating AdGuardHome host'