From 28336b2a5b03d74daca4204de631be80fbbac278 Mon Sep 17 00:00:00 2001 From: "b.waal" Date: Sat, 3 Aug 2024 14:43:19 +0200 Subject: [PATCH] Update installer.sh Added Hostname --- installer.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 #