From cc2c8c85984a9e6611bb04544e7010701e4ed4b3 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 15 Dec 2019 17:38:10 +0100 Subject: Implemented configuration of default user account (without sudo). --- stages/first_stage.sh | 1 + stages/second_stage.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'stages') 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 -- cgit v1.2.3-70-g09d2