summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-04-16 13:23:52 -0500
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-04-17 01:17:17 +0000
commit69221133238f19b8e5068b31dabd9175453c8aca (patch)
tree79abbb4b58c73f7d86663f97b02b225e180cce52
parentfbc7d23daa9d0241fd8ae21caef37df7f1faa0f0 (diff)
downloadvyos-build-69221133238f19b8e5068b31dabd9175453c8aca.tar.gz
vyos-build-69221133238f19b8e5068b31dabd9175453c8aca.zip
image-tools: T6154: installer prompts to confirm non-default password
(cherry picked from commit 6fe57a7042e82af3a587376ab014d76dc0920e35)
-rwxr-xr-xscripts/check-qemu-install4
1 files changed, 3 insertions, 1 deletions
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')