Update installer.sh
Added Hostname
This commit is contained in:
parent
8cff31acb5
commit
28336b2a5b
@ -18,7 +18,6 @@ BRANCH=main
|
||||
GIT=https://git.ictcorpnet.com/b.waal/$REPO/raw
|
||||
|
||||
|
||||
|
||||
if [ "$EUID" -ne 0 ]
|
||||
then echo "Please run as root"
|
||||
exit
|
||||
@ -111,6 +110,8 @@ echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl.conf
|
||||
echo "net.ipv6.conf.default.disable_ipv6 = 1" >> /etc/sysctl.conf
|
||||
echo "net.ipv6.conf.lo.disable_ipv6 = 1" >> /etc/sysctl.conf
|
||||
|
||||
hostnamectl set-hostname $HOSTNAME
|
||||
|
||||
|
||||
##-------------##
|
||||
# Installer #
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user