pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/docker-playground/+/35607?usp=email )

Change subject: ttcn3-epdg: Run osmo-epdg with CAP_NET_ADMIN
......................................................................

ttcn3-epdg: Run osmo-epdg with CAP_NET_ADMIN

This will be needed since soon osmo-epdg will start creating tunnel
devices througth gtp_u_kmod, which requires CAP_NET_ADMIN, plus it will
need probably need to set up local IP addresses.

Change-Id: I48eea0e8d7969cc0a3ad2ed08f696decf064c474
---
M ttcn3-epdg-test/jenkins.sh
1 file changed, 16 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  osmith: Looks good to me, approved
  fixeria: Looks good to me, but someone else must approve




diff --git a/ttcn3-epdg-test/jenkins.sh b/ttcn3-epdg-test/jenkins.sh
index df445fc..eb596dc 100755
--- a/ttcn3-epdg-test/jenkins.sh
+++ b/ttcn3-epdg-test/jenkins.sh
@@ -22,7 +22,10 @@
 echo Starting container with osmo-epdg
 docker run     --rm \
                $(docker_network_params $SUBNET 20) \
+               -u root \
                --ulimit core=-1 \
+               --cap-add=NET_ADMIN \
+               --device /dev/net/tun:/dev/net/tun \
                -v $VOL_BASE_DIR/epdg:/data \
                --name ${BUILD_TAG}-epdg -d \
                $DOCKER_ARGS \

--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/35607?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I48eea0e8d7969cc0a3ad2ed08f696decf064c474
Gerrit-Change-Number: 35607
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-CC: laforge <[email protected]>
Gerrit-MessageType: merged

Reply via email to