Browse Source

fix: [host] ``/etc/resolv.conf`` does not support comments

And search configuration is not required.

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

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

@ -59,8 +59,6 @@ service lxc-net restart ## had to 'brctl delbr lxcbr0' myself
cp /etc/resolv.conf{,.orig} cp /etc/resolv.conf{,.orig}
cat <<EOF > /etc/resolv.conf cat <<EOF > /etc/resolv.conf
nameserver 127.0.0.1 nameserver 127.0.0.1
#domain . ## didn't work on 12.04
search localdomain ## imperfect, we don't want to search www.localdomain
EOF EOF
## ##

Loading…
Cancel
Save