diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2016-05-27 11:31:38 +0300 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2016-05-27 20:50:06 +0300 |
commit | f39ba4b3c7483ead5e69deb7c149979863027f51 (patch) | |
tree | de24c13d9b2227ed12caf5cec093bd8c8c9e950a /jessie-arm64-developer | |
parent | 6263ebecc56565be495af7b938164a636abc0f91 (diff) |
resolvconf: add fallback
Make sure resolvconf doesn't create an empty resolv.conf
by including google's unicast dns server as last option.
Change-Id: Ic046fd286ffda09d5fc6c552842e6d5ec4fd1f16
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'jessie-arm64-developer')
-rwxr-xr-x | jessie-arm64-developer/customization/hooks/98-resolvconf.binary | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jessie-arm64-developer/customization/hooks/98-resolvconf.binary b/jessie-arm64-developer/customization/hooks/98-resolvconf.binary index c9f162e..f6a3898 100755 --- a/jessie-arm64-developer/customization/hooks/98-resolvconf.binary +++ b/jessie-arm64-developer/customization/hooks/98-resolvconf.binary @@ -2,3 +2,5 @@ echo "I: Create /etc/resolv.conf link" ln -sf /etc/resolvconf/run/resolv.conf binary/etc/resolv.conf +echo "I: Install fallback DNS to 8.8.8.8" +echo "nameserver 8.8.8.8" > binary/etc/resolvconf/resolv.conf.d/tail |