From 320e9950388843611c05dbc5508ac2d542d00772 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 19 Feb 2013 09:17:37 +0100 Subject: fixed locales --- archauto.sh | 8 ++++++-- 1 file 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 -- cgit v1.2.3-54-g00ecf