diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-03-11 16:32:56 +0100 |
---|---|---|
committer | pespin <pespin@sysmocom.de> | 2020-03-12 15:49:48 +0000 |
commit | d61b741a61faa0c4451c9bbd823d1e4c2b01c05f (patch) | |
tree | e275b920b0f00f0616b0ddc5e10166569d8379bb | |
parent | dbd6d77a7e6375667214e5d91bc3738a160233d3 (diff) |
osmo-gsm-tester: Allow setting rtprio inside the container
This fixes for instance srsLTE being unable to create a thread with
realtime priority.
Change-Id: If0d033c6e912795804e6d7322c22fdfc6602028b
-rwxr-xr-x | osmo-gsm-tester/jenkins.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/osmo-gsm-tester/jenkins.sh b/osmo-gsm-tester/jenkins.sh index 248a10b..71a2ee3 100755 --- a/osmo-gsm-tester/jenkins.sh +++ b/osmo-gsm-tester/jenkins.sh @@ -30,6 +30,7 @@ echo Starting container with osmo-gsm-tester slave docker run --rm \ --cap-add=NET_ADMIN \ --cap-add=SYS_ADMIN \ + --ulimit rtprio=99 \ --device /dev/net/tun:/dev/net/tun \ --network $NET_NAME \ --ip 172.18.50.100 \ @@ -42,6 +43,7 @@ echo Starting container with osmo-gsm-tester main unit docker run --rm \ --cap-add=NET_ADMIN \ --cap-add=SYS_ADMIN \ + --ulimit rtprio=99 \ --device /dev/net/tun:/dev/net/tun \ --network $NET_NAME \ --ip 172.18.50.2 \ |