aboutsummaryrefslogtreecommitdiffstats
path: root/hook
diff options
context:
space:
mode:
Diffstat (limited to 'hook')
-rw-r--r--hook/hostname1
1 files changed, 0 insertions, 1 deletions
diff --git a/hook/hostname b/hook/hostname
index a95d428..754c041 100644
--- a/hook/hostname
+++ b/hook/hostname
@@ -18,5 +18,4 @@ run_latehook() {
fi
echo -n "${hostprefix}-${hostname}" > "${newroot}/etc/hostname"
- sed -i "/^127.0.0.1/s/$/\t${hostprefix}-${hostname}/" "${newroot}/etc/hosts"
}