From f6f5145826f47fad5c5c79cd77a51f7987e8c5b8 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 26 Oct 2016 13:47:50 +0200 Subject: do not modify /etc/hosts --- hook/hostname | 1 - 1 file changed, 1 deletion(-) (limited to 'hook/hostname') 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" } -- cgit v1.2.3-70-g09d2