aboutsummaryrefslogtreecommitdiffstats
path: root/tests/2-nodes-vpp-bridge.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/2-nodes-vpp-bridge.yml')
-rw-r--r--tests/2-nodes-vpp-bridge.yml8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/2-nodes-vpp-bridge.yml b/tests/2-nodes-vpp-bridge.yml
index 5a61874ac..f162c7b46 100644
--- a/tests/2-nodes-vpp-bridge.yml
+++ b/tests/2-nodes-vpp-bridge.yml
@@ -2,12 +2,10 @@ version: "3"
services:
client:
container_name: ${TEST_VPP_BRIDGE}-client
- volumes:
- - ..:/workspace
command:
- |
if [ -d /workspace/build-dev ]; then
- ninja -C /workspace/build-dev install
+ sudo ninja -C /workspace/build-dev install
fi
sudo ip link add br0 type bridge
@@ -54,12 +52,10 @@ services:
server:
container_name: ${TEST_VPP_BRIDGE}-server
- volumes:
- - ..:/workspace
command:
- |
if [ -d /workspace/build-dev ]; then
- ninja -C /workspace/build-dev install
+ sudo ninja -C /workspace/build-dev install
fi
sudo ip link add br0 type bridge