From 02862eb56527506f5c122e458cdff69ade9c4bb7 Mon Sep 17 00:00:00 2001 From: thorstenspille Date: Sun, 12 Feb 2023 15:09:17 +0100 Subject: [PATCH] zmb-ad-join: set dns server after install --- install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.sh b/install.sh index 55aae66..1a0dfb1 100755 --- a/install.sh +++ b/install.sh @@ -177,5 +177,7 @@ pct shutdown $LXC_NBR if [[ $service == "zmb-ad" ]]; then ## set nameserver, ${LXC_IP%/*} extracts the ip address from cidr format pct set $LXC_NBR -nameserver ${LXC_IP%/*} +elif [[ $service == "zmb-ad-join" ]]; then + pct set $LXC_NBR -nameserver "${LXC_IP%/*} $LXC_DNS" fi pct start $LXC_NBR \ No newline at end of file