From 51881de3b6af56003e288f1e85b4b18983771454 Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Thu, 9 Jul 2026 18:31:41 +0000 Subject: [PATCH] armbian_rootenc_setup: improve final info msg --- scripts/armbian_rootenc_setup.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/armbian_rootenc_setup.sh b/scripts/armbian_rootenc_setup.sh index 87195aa..839c692 100755 --- a/scripts/armbian_rootenc_setup.sh +++ b/scripts/armbian_rootenc_setup.sh @@ -47,6 +47,7 @@ USER_OPTS_INFO=" NETCFG_IFUPDOWN - configure network interface using ifupdown " RSYNC_VERBOSITY='--info=progress2' +system_passwd='1234' print_help() { echo " ${PROGNAME^^}: Create an Armbian image with encrypted root filesystem @@ -595,7 +596,15 @@ _print_success_msg() { imsg " unlocking host:" imsg "" imsg " ssh -p 2222 root@${IP_ADDRESS/dhcp/TARGET_IP}" + imsg "" + imsg " At the prompt, enter the disk password ‘$DISK_PASSWD’" fi + imsg "" + imsg " After the system boots, log in as root on the virtual terminal with password" + imsg_nonl " ‘$system_passwd’" + + [ "$IP_ADDRESS" != 'none' ] && imsg_nonl ", or via SSH without a password" + imsg "" } _clean() {