Flip order in veth setup
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Thu, 22 Oct 2020 09:20:42 +0000 (11:20 +0200)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Thu, 22 Oct 2020 09:20:42 +0000 (11:20 +0200)
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I2da141b438122eee2768582c5a31054cb8a68964

test-suites/short-smoke/network-veth.yaml

index 25f313e..c07e2eb 100644 (file)
@@ -4,9 +4,10 @@ metadata:
   description: "Virtual network card installation"
 run:
   steps:
+    - echo 'DefaultAutoConnectTechnologies=""' >> /etc/connman/main.conf
+    - systemctl restart connman.service
+    - sleep 2
     - ip link add veth0 type veth peer name veth1
     - sleep 2
     - ip addr add 10.1.0.1/24 dev veth0
     - ip addr add 10.1.0.2/24 dev veth1
-    - echo 'DefaultAutoConnectTechnologies=""' >> /etc/connman/main.conf
-    - systemctl restart connman.service