diff options
author | sever-sever <v.gletenko@vyos.io> | 2021-06-11 12:40:17 +0000 |
---|---|---|
committer | sever-sever <v.gletenko@vyos.io> | 2021-06-11 12:40:33 +0000 |
commit | c22c4e90f762942b34f3d62e419f6a68cdeb0347 (patch) | |
tree | 6c598474211a471db61264bf8eb0a9f3ce1b111c /src/conf_mode | |
parent | 556e03922f78f8e258c6d6630ad47569be376e11 (diff) | |
download | vyos-1x-c22c4e90f762942b34f3d62e419f6a68cdeb0347.tar.gz vyos-1x-c22c4e90f762942b34f3d62e419f6a68cdeb0347.zip |
containers: T3614: Fix for network names with hyphen
Fix for containers and newtorks names with hyphen in names.
We shouldn't mangle tagNode values.
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/containers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/containers.py b/src/conf_mode/containers.py index 5efdb6a2f..21b47f42a 100755 --- a/src/conf_mode/containers.py +++ b/src/conf_mode/containers.py @@ -75,7 +75,7 @@ def get_config(config=None): base = ['container'] container = conf.get_config_dict(base, key_mangling=('-', '_'), - get_first_key=True) + get_first_key=True, no_tag_node_value_mangle=True) # We have gathered the dict representation of the CLI, but there are default # options which we need to update into the dictionary retrived. default_values = defaults(base) |