Adding tinycheck.local to /etc/hosts

This commit is contained in:
Félix Aime 2021-01-27 18:15:15 +01:00
parent 97780888b7
commit 534f847ea7

View File

@ -206,6 +206,9 @@ change_hostname() {
echo -e "[+] Changing the hostname to tinycheck" echo -e "[+] Changing the hostname to tinycheck"
echo "tinycheck" > /etc/hostname echo "tinycheck" > /etc/hostname
sed -i "s/$HOST/tinycheck/g" /etc/hosts 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() { install_package() {