summaryrefslogtreecommitdiff
path: root/scripts/check-qemu-install
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-09-20 15:22:32 -0500
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-09-22 14:57:02 +0000
commitffbc49ffbab1899e99e54d36633f9cfbeb03028c (patch)
tree811ddd5054862a1f619c85c6d6522810e4a73ac1 /scripts/check-qemu-install
parent7fcc69e6dc153ecef0ebffe0a2160812d3a8daea (diff)
downloadvyos-build-ffbc49ffbab1899e99e54d36633f9cfbeb03028c.tar.gz
vyos-build-ffbc49ffbab1899e99e54d36633f9cfbeb03028c.zip
smoketest: T5607: adjust for non-deterministic scsi device probing
(cherry picked from commit ecd3727d634e1546448b8038f299b28a2e71dfcb)
Diffstat (limited to 'scripts/check-qemu-install')
-rwxr-xr-xscripts/check-qemu-install4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install
index fabe8fbb..1095c7ee 100755
--- a/scripts/check-qemu-install
+++ b/scripts/check-qemu-install
@@ -452,12 +452,12 @@ try:
c.expect(op_mode_prompt)
log.info('Re-format new RAID member')
- c.sendline('format disk sda like sdb')
+ c.sendline('format by-id disk drive-hd1 like drive-hd2')
c.sendline('yes')
c.expect(op_mode_prompt)
log.info('Add member to RAID1 (md0)')
- c.sendline('add raid md0 member sda1')
+ c.sendline('add raid md0 by-id member drive-hd1-part1')
c.expect(op_mode_prompt)
log.info('Now we need to wait for re-sync to complete')