Minor changes
This commit is contained in:
@@ -18,7 +18,7 @@ if [[ ! -f "/usr/share/zoneinfo/${timezone}" ]]; then
|
|||||||
exit 5
|
exit 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "[INFO] Settings ${timezone} as the time zone"
|
echo "[INFO] Setting ${timezone} as the time zone"
|
||||||
ln -sf "/usr/share/zoneinfo/${timezone}" /etc/localtime
|
ln -sf "/usr/share/zoneinfo/${timezone}" /etc/localtime
|
||||||
hwclock --systohc
|
hwclock --systohc
|
||||||
|
|
||||||
@@ -33,6 +33,8 @@ read -p "Enter a valid hostname (${hostname}): " input
|
|||||||
if [[ -n "$input" ]]; then
|
if [[ -n "$input" ]]; then
|
||||||
hostname="$input"
|
hostname="$input"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "[INFO] Setting ${hostname} as the hostname"
|
||||||
echo "$hostname" > /etc/hostname
|
echo "$hostname" > /etc/hostname
|
||||||
|
|
||||||
echo "[INFO] Enabling NetworkManager to start at boot"
|
echo "[INFO] Enabling NetworkManager to start at boot"
|
||||||
|
|||||||
Reference in New Issue
Block a user