1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-22 01:21:34 -05:00
This commit is contained in:
Tommaso Chiti 2021-02-03 09:56:40 +01:00
parent eb68a49d93
commit 4026fe1ff5

View File

@ -91,11 +91,11 @@ echo $hostname > /mnt/etc/hostname
# Setting up locales.
read -r -p "Please insert the locale you use in this format (xx_XX): " locale
echo "$locale.UTF-8 UTF-8" > /mnt/etc/locale.gen
echo "LANG=\"$locale\".UTF-8" > /mnt/etc/locale.conf
echo "LANG=$locale.UTF-8" > /mnt/etc/locale.conf
# Setting up keyboard layout.
read -r -p "Please insert the keyboard layout you use: " kblayout
echo "KEYMAP=\"$kblayout\"" > /mnt/etc/vconsole.conf
echo "KEYMAP=$kblayout" > /mnt/etc/vconsole.conf
# Setting hosts file.
echo "Setting hosts file."