Add seccomp support to ansible-test.

This commit is contained in:
Matt Clay 2018-08-30 11:36:57 -07:00
commit c1173a2aec
4 changed files with 22 additions and 8 deletions

View file

@ -651,6 +651,12 @@ def add_extra_docker_options(parser, integration=True):
action='store_true',
help='transfer git related files into the docker container')
docker.add_argument('--docker-seccomp',
metavar='SC',
choices=('default', 'unconfined'),
default=None,
help='set seccomp confinement for the test container: %(choices)s')
if not integration:
return