diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-07-23 17:56:30 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-07-23 17:56:30 +0200 |
| commit | 0bafe7f7838ff4108cbfd5282de573dd0f73d454 (patch) | |
| tree | ea9e5d6efd3faff3d64193ec1a2f9e9ec69d661a /scripts | |
| parent | 51ee73ec541b6e28ee430607ab93665ca8c13a93 (diff) | |
| download | vyos-build-0bafe7f7838ff4108cbfd5282de573dd0f73d454.tar.gz vyos-build-0bafe7f7838ff4108cbfd5282de573dd0f73d454.zip | |
Testsuite: T9021: answer question during test for bash_history migration
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/check-qemu-install | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install index 684f135f..8d705674 100755 --- a/scripts/check-qemu-install +++ b/scripts/check-qemu-install @@ -731,6 +731,7 @@ def _image_update_cli_sequence(c, log, new_image_name, server_bind_host='127.0.0 'Would you like to set the new image as the default one for boot', 'An active configuration was found. Would you like to copy it to the new image', 'Would you like to copy SSH host keys', + 'Would you like to copy Bash history', 'Would you like to save the SSH known hosts (fingerprints)', 'Signature is not available. Do you want to continue with installation', 'There are unsaved changes to the configuration', @@ -755,9 +756,11 @@ def _image_update_cli_sequence(c, log, new_image_name, server_bind_host='127.0.0 c.sendline('y') elif i == 7: c.sendline('y') - elif i == 8 or i == 9: + elif i == 8: + c.sendline('y') + elif i == 9 or i == 10: raise Exception('add system image reported an error') - elif i == 10: + elif i == 11: log.info('add system image completed') break |
