Added set hostname
This commit is contained in:
parent
93ed40990d
commit
b09b2f3073
@ -4,7 +4,9 @@ REPO=https://git.xoservice.nl/marcel/archlinux
|
|||||||
GREEN='\033[0;32m'
|
GREEN='\033[0;32m'
|
||||||
RED='\033[0;31m'
|
RED='\033[0;31m'
|
||||||
NOCOL='\033[0m'
|
NOCOL='\033[0m'
|
||||||
|
echo -ne "${GREEN}Enter system hostname...${NOCOL}"
|
||||||
|
read NEWNAME
|
||||||
|
hostnamectl set-hostname $NEWNAME
|
||||||
echo -e "${GREEN}Setting remote control requirements...${NOCOL}"
|
echo -e "${GREEN}Setting remote control requirements...${NOCOL}"
|
||||||
groupadd admins
|
groupadd admins
|
||||||
useradd -g admins -m -r -c "System administrator" sysadmin
|
useradd -g admins -m -r -c "System administrator" sysadmin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user