From cc1553589ece2030e1d00cc75bb0ed16ff00cda8 Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 18 Mar 2020 17:35:37 +0100 Subject: Implement full Test Setup --- archinstall.sh | 6 +++--- 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 -- cgit v1.2.3-70-g09d2