Fix hostname configuration
This commit is contained in:
@@ -33,6 +33,7 @@ read -p "Enter a valid hostname (${hostname}): " input
|
|||||||
if [[ -n "$input" ]]; then
|
if [[ -n "$input" ]]; then
|
||||||
hostname="$input"
|
hostname="$input"
|
||||||
fi
|
fi
|
||||||
|
echo "$hostname" > /etc/hostname
|
||||||
|
|
||||||
echo "[INFO] Enabling NetworkManager to start at boot"
|
echo "[INFO] Enabling NetworkManager to start at boot"
|
||||||
systemctl enable NetworkManager &>/dev/null
|
systemctl enable NetworkManager &>/dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user