diff --git a/install.sh b/install.sh index d34743e..e38a856 100755 --- a/install.sh +++ b/install.sh @@ -80,3 +80,21 @@ pacstrap /mnt base echo "generating fstab" s genfstab -U /mnt >> /mnt/etc/fstab + +echo "chrooting into arch" +s arch-chroot /mnt + +ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime +hwclock --systohc +sed -i 's/#de_DE\.UTF-8/de_DE.UTF-8/g' /etc/locale.gen +locale-gen +echo "LANG=de_DE.UTF-8" > /etc/locale.conf +echo "KEYMAP=de-latin1" > /etc/vconsole.conf +echo "motop" > /etc/hostname +echo "# Static table lookup for hostnames.\n"` + `"# See hosts(5) for details.\n"` + `"127.0.0.1 motop\n"` + `"::1 motop\n"` + `"127.0.1.1 motop.localdomain motop" > /etc/hosts +sed -i 's/FILES=()/FILES=(\/luks.key)/g' /etc/mkinitcpio.conf +