mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-02-23 19:37:23 +08:00
fix: Remove comment
This commit is contained in:
parent
8a3550fed1
commit
8db08b6fe5
@ -256,7 +256,6 @@ configureSlirp() {
|
||||
[ -n "$forward" ] && NET_OPTS+=",$forward"
|
||||
|
||||
if [[ "${DNSMASQ_DISABLE:-}" != [Yy1]* ]]; then
|
||||
# Force local DNS to dnsmasq as slirp provides no way to set it
|
||||
cp /etc/resolv.conf /etc/resolv.dnsmasq
|
||||
echo -e "nameserver 127.0.0.1\nsearch .\noptions ndots:0" >/etc/resolv.conf
|
||||
configureDNS "lo" "$ip" "$VM_NET_MAC" "$VM_NET_HOST" "$VM_NET_MASK" "$gateway" || return 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user