diff --git a/archinstall.sh b/archinstall.sh index d82fdf8..0403a1c 100755 --- a/archinstall.sh +++ b/archinstall.sh @@ -4,10 +4,7 @@ set -euxo pipefail loadkeys de-latin1 -readonly HDD="/dev/sda" -readonly ROOTPART="/dev/sda2" -readonly BOOTPART="/dev/sda1" -readonly HOST="archbox" +source config.conf # this script creats a fresh arch linux install @@ -45,6 +42,7 @@ pacstrap /mnt base base-devel genfstab -U /mnt >> /mnt/etc/fstab cp chrootinstall.sh /mnt +cp config.conf /mnt chmod +x /mnt/chrootinstall.sh diff --git a/chrootinstall.sh b/chrootinstall.sh index 3bb1b7f..7a569a4 100644 --- a/chrootinstall.sh +++ b/chrootinstall.sh @@ -4,10 +4,7 @@ set -euxo pipefail loadkeys de-latin1 -readonly HDD="/dev/sda" -readonly ROOTPART="/dev/sda2" -readonly BOOTPART="/dev/sda1" -readonly HOST="archbox" +source config.conf #starting installation inside chroot env ln -sf /usr/share/zoneinfo/Europe/Vienna /etc/localtime