Update setup.sh
This commit is contained in:
parent
f57789bd96
commit
8b06eeb10e
1 changed files with 5 additions and 0 deletions
5
setup.sh
5
setup.sh
|
|
@ -83,4 +83,9 @@ EOL
|
||||||
# Restart SSH
|
# Restart SSH
|
||||||
sudo systemctl restart ssh
|
sudo systemctl restart ssh
|
||||||
|
|
||||||
|
rm /etc/hostname
|
||||||
|
|
||||||
|
cat <<EOL | sudo tee -a /etc/hostname > /dev/null
|
||||||
|
$host
|
||||||
|
EOL
|
||||||
echo -e "\e[32m* Domain setup completed\e[0m"
|
echo -e "\e[32m* Domain setup completed\e[0m"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue