Browse Source

fix: [host] ``dnsmasq`` configuration upgrade

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
pull/1/head
Valentin Lab 3 years ago
parent
commit
0878a98dd2
  1. 3
      precise/host/hooks/install.d/80-dns-waterfall.sh

3
precise/host/hooks/install.d/80-dns-waterfall.sh

@ -23,6 +23,7 @@ HOST_IP=$(. /etc/default/lxc && ifip "$HOST_EXTERNAL_DEVICE")
echo " echo "
server=$LXC_ADDR server=$LXC_ADDR
interface=lo interface=lo
bind-interfaces
no-negcache no-negcache
log-queries log-queries
log-facility=/var/log/dnsmasq.log log-facility=/var/log/dnsmasq.log
@ -30,9 +31,11 @@ log-facility=/var/log/dnsmasq.log
echo " echo "
server=${HOST_IP} server=${HOST_IP}
bind-interfaces
log-queries log-queries
no-negcache no-negcache
log-facility=/var/log/lxc-dnsmasq.log log-facility=/var/log/lxc-dnsmasq.log
no-resolv
" >> /etc/lxc/dnsmasq.conf " >> /etc/lxc/dnsmasq.conf
( (

Loading…
Cancel
Save