From dccbca60ec1bcf9cb6bbd85f50eb16853eb35028 Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 25 Nov 2019 12:56:06 +0100 Subject: First version with json config file. --- archinstall.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'archinstall.sh') diff --git a/archinstall.sh b/archinstall.sh index 025f318..f205409 100644 --- a/archinstall.sh +++ b/archinstall.sh @@ -55,6 +55,7 @@ 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 @@ -104,4 +105,4 @@ sleep $DELAY # Launching first stage bash $REPOSITORY_PATH/bin/first_stage.sh \ -$DELAY $REPOSITORY_PATH $LOG_FILE_PATH | tee -a $LOG_FILE_PATH +$DELAY $REPOSITORY_PATH $LOG_FILE_PATH $CONFIG_FILE_PATH | tee -a $LOG_FILE_PATH -- cgit v1.2.3-70-g09d2