Merge pull request #40 from KasperskyLab/dev

Adding tinycheck.local to /etc/hosts
This commit is contained in:
Félix Aimé
2021-01-27 18:16:38 +01:00
committed by GitHub

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() {