diff options
Diffstat (limited to 'src/conf_mode/container.py')
-rwxr-xr-x | src/conf_mode/container.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/container.py b/src/conf_mode/container.py index abd2c5f21..0b57221b2 100755 --- a/src/conf_mode/container.py +++ b/src/conf_mode/container.py @@ -265,7 +265,7 @@ def generate_run_arguments(name, container_config): capabilities = '' if 'capability' in container_config: for cap in container_config['capability']: - cap = c.upper().replace('-', '_') + cap = cap.upper().replace('-', '_') capabilities += f' --cap-add={cap}' # Add a host device to the container /dev/x:/dev/x |