summaryrefslogtreecommitdiff
path: root/src/conf_mode/containers.py
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-06-11 12:40:17 +0000
committersever-sever <v.gletenko@vyos.io>2021-06-11 12:40:33 +0000
commitc22c4e90f762942b34f3d62e419f6a68cdeb0347 (patch)
tree6c598474211a471db61264bf8eb0a9f3ce1b111c /src/conf_mode/containers.py
parent556e03922f78f8e258c6d6630ad47569be376e11 (diff)
downloadvyos-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/containers.py')
-rwxr-xr-xsrc/conf_mode/containers.py2
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)