summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stages/first_stage.sh2
-rw-r--r--util/print_final_message.sh15
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 <https://www.gnu.org/licenses/>.
+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