From b554f3d003dcad862ac27bd0eb74ee4381a6366b Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Mon, 10 Sep 2018 14:29:39 +0200 Subject: [PATCH] DNS config implementation bugfix https://github.com/armbian/build/pull/1105 --- lib/distributions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/distributions.sh b/lib/distributions.sh index 421bce575..c002646d7 100644 --- a/lib/distributions.sh +++ b/lib/distributions.sh @@ -259,7 +259,7 @@ install_common() fi # nsswitch settings for sane DNS behavior: remove resolve, assure libnss-myhostname support - sed "s/hosts:/c\hosts: files mymachines dns myhostname" -i $SDCARD/etc/nsswitch.conf + sed "s/hosts\:.*/hosts: files mymachines dns myhostname/g" -i $SDCARD/etc/nsswitch.conf } install_distribution_specific()