diff options
Diffstat (limited to 'archinstall.sh')
-rw-r--r-- | archinstall.sh | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/archinstall.sh b/archinstall.sh index b7d9f28..2dd55a7 100644 --- a/archinstall.sh +++ b/archinstall.sh @@ -30,21 +30,19 @@ # Settings -TESTSERVER="8.8.8.8" # hostnames will not work properly -NETWORK_DEADLINE=1 # in seconds +export TESTSERVER="8.8.8.8" # hostnames will not work properly +export NETWORK_DEADLINE=1 # in seconds export REPOSITORY_URL="https://github.com/xengineering/archinstall/" export REPOSITORY_PATH="/opt/archinstall" export BRANCH_OR_COMMIT="master" # select another branch name or commit hash if needed export LOG_FILE_PATH="/var/log/archinstall.log" export CONFIG_FILE_PATH="/etc/archinstall/config.json" + # PATH expansion -export PATH=$PATH:$(REPOSITORY_PATH)/stages -export PATH=$PATH:$(REPOSITORY_PATH)/util -echo "New PATH:" -echo $PATH -echo "" +export PATH=$PATH:$REPOSITORY_PATH/stages +export PATH=$PATH:$REPOSITORY_PATH/util # Greetings @@ -107,7 +105,4 @@ echo "" # Launching first stage -#bash $REPOSITORY_PATH/bin/first_stage.sh \ -#$REPOSITORY_PATH $LOG_FILE_PATH $CONFIG_FILE_PATH | tee -a $LOG_FILE_PATH - bash first_stage.sh | tee -a $LOG_FILE_PATH |