diff options
Diffstat (limited to 'airootfs/root/.loader')
-rwxr-xr-x | airootfs/root/.loader | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/airootfs/root/.loader b/airootfs/root/.loader new file mode 100755 index 0000000..3f4bed6 --- /dev/null +++ b/airootfs/root/.loader @@ -0,0 +1,18 @@ +#!/bin/bash +set -e + +ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime + +hwclock --systohc + +echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen +locale-gen +echo "LANG=en_US.UTF-8" >> /etc/locale.conf + +echo "$2" > /etc/hostname +echo "127.0.0.1 localhost" > /etc/hosts +echo "::1 localhost" >> /etc/hosts +echo "127.0.1.1 $2.lan $2" >> /etc/hosts + +grub-install $1 +grub-mkconfig -o /boot/grub/grub.cfg |