From d727e5201e829dfc749c7ac6388adbea37aa714d Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 15 Dec 2019 17:47:16 +0100 Subject: Fixed usability bug. --- stages/first_stage.sh | 2 +- util/print_final_message.sh | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/stages/first_stage.sh b/stages/first_stage.sh index 1226de0..8b9d640 100644 --- a/stages/first_stage.sh +++ b/stages/first_stage.sh @@ -61,4 +61,4 @@ bash copy_archinstall_log.sh $LOG_FILE_PATH bash unmount_filesystems.sh $root_partition_path -bash print_final_message.sh +bash print_final_message.sh $DEFAULT_PASSWORD diff --git a/util/print_final_message.sh b/util/print_final_message.sh index 2388c23..63348b4 100644 --- a/util/print_final_message.sh +++ b/util/print_final_message.sh @@ -18,14 +18,17 @@ # along with this program. If not, see . +default_password=$1 + + cat << EOF ################################################################# -# # -# The default login is user root with password 'root'. # -# You can now power off your machine with 'poweroff', # -# remove the installation media and boot your new # -# Arch Linux machine! # -# # + + The default password for your user and root is '$default_password'. + You can now power off your machine with 'poweroff', + remove the installation media and boot your new + Arch Linux machine! + ################################################################# EOF -- cgit v1.2.3-70-g09d2