From: Paul Hänsch Date: Thu, 26 Sep 2019 15:24:06 +0000 (+0200) Subject: hostname to hosts file correction 3 X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=2e9011e17a96bb877ee92979a564143af70ce457;p=blast hostname to hosts file correction 3 --- 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