Skip to content

Commit

Permalink
ttcn3-epdg: Run osmo-epdg with CAP_NET_ADMIN
Browse files Browse the repository at this point in the history
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
  • Loading branch information
pespin committed Jan 22, 2024
1 parent 26d9e95 commit 27a8a92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ttcn3-epdg-test/jenkins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ network_replace_subnet_in_configs
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 \
Expand Down

0 comments on commit 27a8a92

Please sign in to comment.