From 2e9011e17a96bb877ee92979a564143af70ce457 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Thu, 26 Sep 2019 17:24:06 +0200 Subject: [PATCH] hostname to hosts file correction 3 --- modules/default.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/default.mk b/modules/default.mk index 33ed1e0..7c3133f 100644 --- a/modules/default.mk +++ b/modules/default.mk @@ -102,7 +102,7 @@ _users: ${CFGROOT} _hostname: ${CFGROOT} printf '%s\n' "$${hostname}" >"$${CFGROOT}/etc/hostname" - sed -Ei "s;^127\.0\.0\.1.*$$;\& $${hostname};" "$${CFGROOT}/etc/hosts" + sed -Ei "s;^127\.0\.0\.1.*$$;& $${hostname};" "$${CFGROOT}/etc/hosts" ifdef wifi _config: ${CFGROOT}/etc/network/interfaces.d/wifi -- 2.39.2