diff options
author | Christian Hesse <mail@eworm.de> | 2016-10-26 13:47:50 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2016-10-26 13:47:50 +0200 |
commit | f6f5145826f47fad5c5c79cd77a51f7987e8c5b8 (patch) | |
tree | d57c8088f710ca44c2d21e2dd87d5409b324e3c0 /hook/hostname | |
parent | a30ec01ac438fb4524e987f207de767c29b1e74d (diff) | |
download | mkinitcpio-hostname-f6f5145826f47fad5c5c79cd77a51f7987e8c5b8.tar.gz mkinitcpio-hostname-f6f5145826f47fad5c5c79cd77a51f7987e8c5b8.tar.zst |
do not modify /etc/hosts
Diffstat (limited to 'hook/hostname')
-rw-r--r-- | hook/hostname | 1 |
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" } |