diff options
Diffstat (limited to 'archinstall.sh')
-rw-r--r-- | archinstall.sh | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/archinstall.sh b/archinstall.sh index f205409..ce3b8e8 100644 --- a/archinstall.sh +++ b/archinstall.sh @@ -28,6 +28,18 @@ ################################################################# +# Settings + +TESTSERVER="8.8.8.8" # hostnames will not work properly +NETWORK_DEADLINE=1 # in seconds +REPOSITORY_URL="https://github.com/xengineering/archinstall/" +REPOSITORY_PATH="/opt/archinstall" +BRANCH_OR_COMMIT="master" # select another branch name or commit hash if needed +LOG_FILE_PATH="/var/log/archinstall.log" +CONFIG_FILE_PATH="/etc/archinstall/config.json" +DELAY=0.5 # delay for reading messages in seconds + + # Greetings cat << EOF @@ -47,18 +59,6 @@ cat << EOF EOF -# Settings - -TESTSERVER="8.8.8.8" # hostnames will not work properly -NETWORK_DEADLINE=1 # in seconds -REPOSITORY_URL="https://github.com/xengineering/archinstall/" -REPOSITORY_PATH="/opt/archinstall" -BRANCH_OR_COMMIT="master" # select another branch name or commit hash if needed -LOG_FILE_PATH="/var/log/archinstall.log" -CONFIG_FILE_PATH="/etc/archinstall/config.json" -DELAY=0.5 # delay for reading messages in seconds - - # Check internet connection if ping -w $NETWORK_DEADLINE -c 1 $TESTSERVER; then @@ -104,5 +104,5 @@ sleep $DELAY # Launching first stage -bash $REPOSITORY_PATH/bin/first_stage.sh \ +bash $REPOSITORY_PATH/stages/first_stage.sh \ $DELAY $REPOSITORY_PATH $LOG_FILE_PATH $CONFIG_FILE_PATH | tee -a $LOG_FILE_PATH |