From 534f847ea74728e3dad84ee4f2618fddfb7cb1f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Aime?= Date: Wed, 27 Jan 2021 18:15:15 +0100 Subject: [PATCH] Adding tinycheck.local to /etc/hosts --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index 69d969d..474fdb0 100644 --- a/install.sh +++ b/install.sh @@ -206,6 +206,9 @@ change_hostname() { echo -e "[+] Changing the hostname to tinycheck" echo "tinycheck" > /etc/hostname sed -i "s/$HOST/tinycheck/g" /etc/hosts + + # Adding tinycheck.local to the /etc/hosts. + echo "127.0.0.1 tinycheck.local" >> /etc/hosts } install_package() {