Skip to content

Commit

Permalink
Add support for external configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakobu5 committed Nov 14, 2019
1 parent 0737781 commit e9eff2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
6 changes: 2 additions & 4 deletions archinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
5 changes: 1 addition & 4 deletions chrootinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9eff2b

Please sign in to comment.