summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-07-23 17:56:30 +0200
committerChristian Breunig <christian@breunig.cc>2026-07-23 17:56:30 +0200
commit0bafe7f7838ff4108cbfd5282de573dd0f73d454 (patch)
treeea9e5d6efd3faff3d64193ec1a2f9e9ec69d661a /scripts
parent51ee73ec541b6e28ee430607ab93665ca8c13a93 (diff)
downloadvyos-build-0bafe7f7838ff4108cbfd5282de573dd0f73d454.tar.gz
vyos-build-0bafe7f7838ff4108cbfd5282de573dd0f73d454.zip
Testsuite: T9021: answer question during test for bash_history migration
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-qemu-install7
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