diff --git a/installer.sh b/installer.sh index 667eea5..4b1219c 100644 --- a/installer.sh +++ b/installer.sh @@ -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 #