summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-qemu-install11
1 files changed, 9 insertions, 2 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install
index 30363068..5c4e09b4 100755
--- a/scripts/check-qemu-install
+++ b/scripts/check-qemu-install
@@ -154,7 +154,10 @@ try:
cmd = """qemu-system-x86_64 \
-name "TESTVM" \
-m 1G \
- -nic user,model=virtio,mac=52:54:99:12:34:56,hostfwd=tcp::2299-:22 \
+ -nic user,model=virtio,mac=52:54:99:12:34:56 \
+ -nic user,model=virtio,mac=52:54:99:12:34:57 \
+ -nic user,model=virtio,mac=52:54:99:12:34:58 \
+ -nic user,model=virtio,mac=52:54:99:12:34:59 \
-machine accel=kvm \
{CPU} \
-smp 2 \
@@ -240,7 +243,10 @@ try:
cmd = """qemu-system-x86_64 \
-name "TESTVM" \
-m 1G \
- -nic user,model=virtio,mac=52:54:99:12:34:56,hostfwd=tcp::2299-:22
+ -nic user,model=virtio,mac=52:54:99:12:34:56 \
+ -nic user,model=virtio,mac=52:54:99:12:34:57 \
+ -nic user,model=virtio,mac=52:54:99:12:34:58 \
+ -nic user,model=virtio,mac=52:54:99:12:34:59 \
-machine accel=kvm \
{CPU} \
-smp 2 \
@@ -278,6 +284,7 @@ try:
c.sendline('run show version')
c.sendline('exit')
c.expect(r'vyos@vyos:~\$')
+ c.sendline('show interfaces')
#################################################
# Executing test-suite