Adding tinycheck.local to /etc/hosts
This commit is contained in:
parent
97780888b7
commit
534f847ea7
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user