image-tools: T6154: installer prompts to confirm non-default password

This commit is contained in:
John Estabrook 2024-04-16 13:23:52 -05:00
parent 3a674cfaa7
commit 6fe57a7042

View File

@ -336,7 +336,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')