summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-03-18 13:45:05 +0100
committerxengineering <mail2xengineering@protonmail.com>2020-03-18 13:45:05 +0100
commit27dd408ef896e1d76e8d9b1ead2d19dd239b46ae (patch)
tree2db6a7009b0349ae5028a1abc7d9b4e234966f22
parente9aa6ad0bc94473e165a1b878827f7a537d88acb (diff)
downloadarchinstall-27dd408ef896e1d76e8d9b1ead2d19dd239b46ae.tar
archinstall-27dd408ef896e1d76e8d9b1ead2d19dd239b46ae.tar.zst
archinstall-27dd408ef896e1d76e8d9b1ead2d19dd239b46ae.zip
Make Test Setup for chroot
-rw-r--r--archinstall.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/archinstall.sh b/archinstall.sh
index 86c8680..dbff991 100644
--- a/archinstall.sh
+++ b/archinstall.sh
@@ -54,6 +54,7 @@ EOF
# Constants
+ ######################## CHANGE FOR PRODUCTION:
export BRANCH="feature_bios" # possible alternatives: "devel" or "feature_<myfeature>"
export INTERNET_TEST_SERVER="archlinux.org"
export INTERNET_TEST_PING_TIMEOUT=1 # in seconds
@@ -66,7 +67,7 @@ export DEFAULT_PASSWORD="archinstall"
# Variables
export boot_mode="unknown" # alternatives: "bios" or "uefi"
-export path_to_disk="/dev/null" # e.g. "/dev/sda"
+export path_to_disk="/dev/sda" # e.g. "/dev/sda" ######################## REMOVE FOR PRODUCTION
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;de_DE ISO-8859-1;de_DE@euro ISO-8859-15"
@@ -92,11 +93,11 @@ 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
-#curl $SECOND_STAGE_LINK > /mnt/root/second_stage.sh
-#echo "bash /root/second_stage.sh" | arch-chroot /mnt
+curl $SECOND_STAGE_LINK > /mnt/root/second_stage.sh
+echo "bash /root/second_stage.sh" | arch-chroot /mnt