Skip to content

Commit

Permalink
Update network.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese committed Feb 8, 2024
1 parent eaa1464 commit 584b047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ configureDNS() {
DNSMASQ_OPTS="$DNSMASQ_OPTS --dhcp-option=option:dns-server,${VM_NET_IP%.*}.1 --dhcp-option=option:router,${VM_NET_IP%.*}.1"

# Add DNS entry for container
DNSMASQ_OPTS="$DNSMASQ_OPTS --address=/host.local/${VM_NET_IP%.*}.1"
DNSMASQ_OPTS="$DNSMASQ_OPTS --address=/host.lan/${VM_NET_IP%.*}.1"

DNSMASQ_OPTS=$(echo "$DNSMASQ_OPTS" | sed 's/\t/ /g' | tr -s ' ' | sed 's/^ *//')
[[ "$DEBUG" == [Yy1]* ]] && set -x
Expand Down

0 comments on commit 584b047

Please sign in to comment.