From b09b2f30733777d5d9dd6d32f816c4ef6535d107 Mon Sep 17 00:00:00 2001 From: Marcel Stangenberger Date: Mon, 5 May 2025 20:09:48 +0000 Subject: [PATCH] Added set hostname --- post/run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/post/run.sh b/post/run.sh index be0442e..cdf82b7 100644 --- a/post/run.sh +++ b/post/run.sh @@ -4,7 +4,9 @@ REPO=https://git.xoservice.nl/marcel/archlinux GREEN='\033[0;32m' RED='\033[0;31m' NOCOL='\033[0m' - +echo -ne "${GREEN}Enter system hostname...${NOCOL}" +read NEWNAME +hostnamectl set-hostname $NEWNAME echo -e "${GREEN}Setting remote control requirements...${NOCOL}" groupadd admins useradd -g admins -m -r -c "System administrator" sysadmin