Added set hostname

This commit is contained in:
Marcel Stangenberger 2025-05-05 20:09:48 +00:00
parent 93ed40990d
commit b09b2f3073

View File

@ -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