mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 21:40:01 +08:00
Remove secondary DNS
This commit is contained in:
parent
2435d90d27
commit
1368fdfaac
@ -75,7 +75,6 @@ for nameserver in "${nameservers[@]}"; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
[[ -z $DNS_SERVERS ]] && DNS_SERVERS="1.1.1.1"
|
[[ -z $DNS_SERVERS ]] && DNS_SERVERS="1.1.1.1"
|
||||||
[[ ${DNS_SERVERS} != *","* ]] && DNS_SERVERS="$DNS_SERVERS,1.0.0.1"
|
|
||||||
|
|
||||||
DNSMASQ_OPTS="$DNSMASQ_OPTS --dhcp-option=option:dns-server,$DNS_SERVERS --dhcp-option=option:router,${VM_NET_IP%.*}.1"
|
DNSMASQ_OPTS="$DNSMASQ_OPTS --dhcp-option=option:dns-server,$DNS_SERVERS --dhcp-option=option:router,${VM_NET_IP%.*}.1"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user