mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2024-12-24 11:20:13 +01:00
zmb-ad-join: set dns server after install
This commit is contained in:
parent
1c74139ebd
commit
02862eb565
@ -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
|
Loading…
Reference in New Issue
Block a user