summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2013-02-19 09:17:37 +0100
committerAndreas Baumann <abaumann@yahoo.com>2013-02-19 09:17:37 +0100
commit320e9950388843611c05dbc5508ac2d542d00772 (patch)
treefd91cc3b855126fbcea30880e18fcf95136ee647
parent2b54f640505e417cf2407346e23eeb2216cdfa7b (diff)
downloadarchauto-320e9950388843611c05dbc5508ac2d542d00772.tar.gz
archauto-320e9950388843611c05dbc5508ac2d542d00772.tar.bz2
fixed locales
-rwxr-xr-xarchauto.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/archauto.sh b/archauto.sh
index 033d137..ce87dd1 100755
--- a/archauto.sh
+++ b/archauto.sh
@@ -50,15 +50,19 @@ arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg
genfstab -p /mnt >> /mnt/etc/fstab
+sed -i 's/^#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g' /mnt/etc/locale.gen
+arch-chroot /mnt locale-gen
+echo LANG=en_US.UTF-8 > /mnt/etc/locale.conf
+
ln -s /usr/share/zoneinfo/Europe/Zurich /mnt/etc/localtime
arch-chroot /mnt hwclock --systohc --utc
echo "archiso" > /mnt/etc/hostname
-arch-chroot /mnt sh -c "echo 'root:xx' | chpasswd"
-
arch-chroot /mnt systemctl enable dhcpcd@enp0s3.service
+arch-chroot /mnt sh -c "echo 'root:xx' | chpasswd"
+
echo "Done."
systemctl poweroff