Browse Source

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

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
backup
Valentin Lab 4 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 "
server=$LXC_ADDR
interface=lo
bind-interfaces
no-negcache
log-queries
log-facility=/var/log/dnsmasq.log
@ -30,9 +31,11 @@ log-facility=/var/log/dnsmasq.log
echo "
server=${HOST_IP}
bind-interfaces
log-queries
no-negcache
log-facility=/var/log/lxc-dnsmasq.log
no-resolv
" >> /etc/lxc/dnsmasq.conf
(

Loading…
Cancel
Save