summaryrefslogtreecommitdiff
path: root/stages
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2019-12-15 17:38:10 +0100
committerxengineering <mail2xengineering@protonmail.com>2019-12-15 17:38:10 +0100
commitcc2c8c85984a9e6611bb04544e7010701e4ed4b3 (patch)
treee4a3cc6ee5ffff0ebfaaa600fa9f450f52e14c2a /stages
parent42cc3111a23ae0d2d61dc587acd1eaf21b3817c1 (diff)
downloadarchinstall-cc2c8c85984a9e6611bb04544e7010701e4ed4b3.tar
archinstall-cc2c8c85984a9e6611bb04544e7010701e4ed4b3.tar.zst
archinstall-cc2c8c85984a9e6611bb04544e7010701e4ed4b3.zip
Implemented configuration of default user account (without sudo).
Diffstat (limited to 'stages')
-rw-r--r--stages/first_stage.sh1
-rw-r--r--stages/second_stage.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/stages/first_stage.sh b/stages/first_stage.sh
index c257946..1226de0 100644
--- a/stages/first_stage.sh
+++ b/stages/first_stage.sh
@@ -36,6 +36,7 @@ export boot_partition_path="${disk_path}1"
export root_partition_path="${disk_path}2"
export hostname=$(python $REPOSITORY_PATH/util/read_config_string.py $CONFIG_FILE_PATH "hostname")
export desktop=$(python $REPOSITORY_PATH/util/read_config_string.py $CONFIG_FILE_PATH "desktop")
+export admin_username=$(python $REPOSITORY_PATH/util/read_config_string.py $CONFIG_FILE_PATH "admin_username")
bash confirm_installation.sh $disk
diff --git a/stages/second_stage.sh b/stages/second_stage.sh
index f4b867e..7020b6b 100644
--- a/stages/second_stage.sh
+++ b/stages/second_stage.sh
@@ -29,7 +29,7 @@ bash configure_timezone.sh /usr/share/zoneinfo/Europe/Berlin
bash configure_network.sh $hostname
-bash configure_users.sh
+bash configure_users.sh $admin_username $DEFAULT_PASSWORD
bash install_bootloader.sh $boot_partition_path