From 69221133238f19b8e5068b31dabd9175453c8aca Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Tue, 16 Apr 2024 13:23:52 -0500 Subject: image-tools: T6154: installer prompts to confirm non-default password (cherry picked from commit 6fe57a7042e82af3a587376ab014d76dc0920e35) --- scripts/check-qemu-install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install index f461d589..b3d9f3a1 100755 --- a/scripts/check-qemu-install +++ b/scripts/check-qemu-install @@ -310,7 +310,9 @@ try: c.expect('\nWhat would you like to name this image?.*') c.sendline('') c.expect(f'\nPlease enter a password for the "{default_user}" user.*') - c.sendline('') + c.sendline('vyos') + c.expect(f'\nPlease confirm password for the "{default_user}" user.*') + c.sendline('vyos') c.expect('\nWhat console should be used by default?.*') c.sendline('S') -- cgit v1.2.3