summaryrefslogtreecommitdiff
path: root/stages
diff options
context:
space:
mode:
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