]> git.plutz.net Git - blast/blobdiff - modules/default.mk
integrating changes from master
[blast] / modules / default.mk
index 6a1907a93cb6eaec01a4c278f4d69b3448bc4ff9..7c3133f913fa182f348e591fdc135ee282f21971 100644 (file)
@@ -102,6 +102,7 @@ _users: ${CFGROOT}
 
 _hostname: ${CFGROOT}
        printf '%s\n' "$${hostname}" >"$${CFGROOT}/etc/hostname"
+       sed -Ei "s;^127\.0\.0\.1.*$$;&  $${hostname};" "$${CFGROOT}/etc/hosts"
 
 ifdef wifi
   _config: ${CFGROOT}/etc/network/interfaces.d/wifi