summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2019-12-15 17:47:16 +0100
committerxengineering <mail2xengineering@protonmail.com>2019-12-15 17:47:16 +0100
commitd727e5201e829dfc749c7ac6388adbea37aa714d (patch)
treed93c401ec5af943ece0e737480caaca829284fb4
parentcc2c8c85984a9e6611bb04544e7010701e4ed4b3 (diff)
downloadarchinstall-d727e5201e829dfc749c7ac6388adbea37aa714d.tar
archinstall-d727e5201e829dfc749c7ac6388adbea37aa714d.tar.zst
archinstall-d727e5201e829dfc749c7ac6388adbea37aa714d.zip
Fixed usability bug.
-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