-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
2.4, 2.5
-
False
-
-
False
- What is the nature and description of the request?
- Add an option to set "DEFAULT_CONTAINER_RUN_OPTIONS" on execution nodes.
- Why does the customer need this? (List the business requirements here)
- Currently, there are no options to set the "DEFAULT_CONTAINER_RUN_OPTIONS" on execution nodes. The customer wants to set the following options on the execution node to mount the CIFS share inside the EE during runtime.
DEFAULT_CONTAINER_RUN_OPTIONS = ['--cap-add=SYS_ADMIN']
- Currently, there are no options to set the "DEFAULT_CONTAINER_RUN_OPTIONS" on execution nodes. The customer wants to set the following options on the execution node to mount the CIFS share inside the EE during runtime.
- How would you like to achieve this? (List the functional requirements here)
- By adding "/etc/tower/conf.d/custom.py" or a similar configuration file on the execution node.
- Additional info.
- I tried making changes in the ~/.config/containers/containers.conf in the "[containers]" section as follows
[containers] default_capabilities = [ "CHOWN", "DAC_OVERRIDE", "FOWNER", "FSETID", "KILL", "MKNOD", "NET_BIND_SERVICE", "SETFCAP", "SETGID", "SETPCAP", "SETUID", "SYS_ADMIN" ]
But it did not help. The mount task still fails.
- I tried making changes in the ~/.config/containers/containers.conf in the "[containers]" section as follows