diff options
author | xengineering <mail2xengineering@protonmail.com> | 2019-12-15 11:39:20 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2019-12-15 11:39:20 +0100 |
commit | 2a64f2483771ede6310b18a94e7301618d8dc4f7 (patch) | |
tree | a9ba6c6988b6e079752ba6ba48bae6c93cccc788 /archinstall.sh | |
parent | a5eb7e67ca1ea36c3c6ea6dc7c86c2703fe70620 (diff) | |
download | archinstall-2a64f2483771ede6310b18a94e7301618d8dc4f7.tar archinstall-2a64f2483771ede6310b18a94e7301618d8dc4f7.tar.zst archinstall-2a64f2483771ede6310b18a94e7301618d8dc4f7.zip |
Started change to new stages/util concept.
Diffstat (limited to 'archinstall.sh')
-rw-r--r-- | archinstall.sh | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/archinstall.sh b/archinstall.sh index 50444ca..b7d9f28 100644 --- a/archinstall.sh +++ b/archinstall.sh @@ -32,11 +32,19 @@ 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" +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 "" # Greetings @@ -99,5 +107,7 @@ echo "" # Launching first stage -bash $REPOSITORY_PATH/bin/first_stage.sh \ -$DELAY $REPOSITORY_PATH $LOG_FILE_PATH $CONFIG_FILE_PATH | tee -a $LOG_FILE_PATH +#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 |