summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2019-10-13 14:25:40 +0200
committerxengineering <mail2xengineering@protonmail.com>2019-10-13 14:25:40 +0200
commitb03c293b1efd73e11c55ad39fc86169e90ca3059 (patch)
tree384b6debbafcf7b8ddf4f08c3be6fc9a888a6122
parent1b00dba8c52fcb695bdd486f5c278f35c9554e34 (diff)
downloadarchinstall-b03c293b1efd73e11c55ad39fc86169e90ca3059.tar
archinstall-b03c293b1efd73e11c55ad39fc86169e90ca3059.tar.zst
archinstall-b03c293b1efd73e11c55ad39fc86169e90ca3059.zip
Bugfix for test.
-rw-r--r--new_archinstall.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/new_archinstall.sh b/new_archinstall.sh
index bdfc500..959ab63 100644
--- a/new_archinstall.sh
+++ b/new_archinstall.sh
@@ -37,7 +37,9 @@ REPOSITORY_PATH="/opt/archinstall.git"
BRANCH_OR_COMMIT="master"
SCRIPT_BASE_PATH=$REPOSITORY_PATH
SCRIPT_BASE_PATH+="/bin/"
-CONFIG_FILE_PATH="/etc/archinstall/config.json"
+CONFIG_FILE_FOLDER_PATH="/etc/archinstall/"
+CONFIG_FILE_PATH=$CONFIG_FILE_FOLDER_PATH
+CONFIG_FILE_PATH+="config.json"
DELAY=0.5
@@ -117,6 +119,7 @@ output "Generating config ..."
script_path=$SCRIPT_BASE_PATH
script_path+="config_writer.py"
+
python $script_path $LOG_FILE_PATH $CONFIG_FILE_PATH
output "Generated config - OK"