diff options
author | xengineering <mail2xengineering@protonmail.com> | 2020-03-18 17:35:37 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2020-03-18 17:35:37 +0100 |
commit | cc1553589ece2030e1d00cc75bb0ed16ff00cda8 (patch) | |
tree | d18350993ea029f1e4b8397777d05347bf9d7bd9 | |
parent | c8929e831da5916c423cd39400e3eafa6e653254 (diff) | |
download | archinstall-cc1553589ece2030e1d00cc75bb0ed16ff00cda8.tar archinstall-cc1553589ece2030e1d00cc75bb0ed16ff00cda8.tar.zst archinstall-cc1553589ece2030e1d00cc75bb0ed16ff00cda8.zip |
Implement full Test Setup
-rw-r--r-- | archinstall.sh | 6 | ||||
-rw-r--r-- | stages/second_stage.sh | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/archinstall.sh b/archinstall.sh index 40f6575..c1daaf9 100644 --- a/archinstall.sh +++ b/archinstall.sh @@ -67,7 +67,7 @@ export DEFAULT_PASSWORD="archinstall" # Variables export boot_mode="unknown" # alternatives: "bios" or "uefi" -export path_to_disk="/dev/sda" # e.g. "/dev/sda" ######################## REMOVE FOR PRODUCTION +export path_to_disk="/dev/null" # e.g. "/dev/sda" export luks_encryption="no" # alternative: "yes" export path_to_timezone="/usr/share/zoneinfo/Europe/Berlin" export locales_to_generate="de_DE.UTF-8 UTF-8" # currently just one option @@ -94,8 +94,8 @@ timedatectl set-ntp true # Download and run first stage -#curl $FIRST_STAGE_LINK > /root/first_stage.sh -#bash /root/first_stage.sh +curl $FIRST_STAGE_LINK > /root/first_stage.sh +bash /root/first_stage.sh # Download and run second stage diff --git a/stages/second_stage.sh b/stages/second_stage.sh index ea623a7..be55b29 100644 --- a/stages/second_stage.sh +++ b/stages/second_stage.sh @@ -66,4 +66,5 @@ echo "root:${DEFAULT_PASSWORD}" | chpasswd # Install bootloader grub-install --target=i386-pc $path_to_disk +mkdir /boot/grub grub-mkconfig -o /boot/grub/grub.cfg |