Merge pull request #569 from jestabro/confirm-pass

image-tools: T6154: installer prompts to confirm password
This commit is contained in:
Viacheslav Hletenko 2024-04-17 04:05:00 +03:00 committed by GitHub
commit 67511ae3bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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')