Fix hostname configuration

This commit is contained in:
seajee
2024-06-30 20:08:29 +02:00
parent c326f8f647
commit 242d2221d0

View File

@@ -33,6 +33,7 @@ read -p "Enter a valid hostname (${hostname}): " input
if [[ -n "$input" ]]; then
hostname="$input"
fi
echo "$hostname" > /etc/hostname
echo "[INFO] Enabling NetworkManager to start at boot"
systemctl enable NetworkManager &>/dev/null