diff --git a/chroot.sh b/chroot.sh index 771ce2f..65f0081 100755 --- a/chroot.sh +++ b/chroot.sh @@ -22,9 +22,9 @@ hwclock --systohc # Localization echo "[INFO] Setting locale to en_US" -echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen +sed -i -e 's|#en_US.UTF-8 UTF-8|en_US.UTF-8 UTF-8|' /etc/locale.gen locale-gen &>/dev/null -echo "LANG=en_US.UTF-8" >> /etc/locale.conf +echo "LANG=en_US.UTF-8" > /etc/locale.conf # Network configuration read -p "Enter a valid hostname (${hostname}): " input diff --git a/install.sh b/install.sh index 19c90fc..ef34246 100755 --- a/install.sh +++ b/install.sh @@ -11,9 +11,6 @@ platform="bios" input="" disk="/dev/sda" -timezone="Europe/Amsterdam" -hostname="arch" -password="" echoerr() { cat <<< "$@" 1>&2; }