summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-21 19:05:51 +0200
committerChristian Poessinger <christian@poessinger.com>2021-04-21 19:09:53 +0200
commit255216b4470b0a25dded0edc1e8acd8e0fbf34b5 (patch)
tree17625eadbd1a2e07fed64259da32052335fadae3 /data
parent31c708c2c467b39c3874ffe5cadd9b325aad1ad6 (diff)
downloadvyos-1x-255216b4470b0a25dded0edc1e8acd8e0fbf34b5.tar.gz
vyos-1x-255216b4470b0a25dded0edc1e8acd8e0fbf34b5.zip
containers: T2216: refine implementation
This commit is a cleanup and refinement of the container hosting implementation. - Renamed CLI node ipv4-prefix -> prefix so both IPv4 and IPv6 prefix can be supplied in the future. This is currently limited to IPv4 only as when using IPv6 networks in combination with IPv4 the IPv4 prefix is altered randomly - De-nested if clauses - Use "for foo, bar in baz.items()" to more easily iterate of dictionary values, this means "bar" can be used to access "baz[foo]"
Diffstat (limited to 'data')
-rw-r--r--data/templates/containers/registry.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/containers/registry.tmpl b/data/templates/containers/registry.tmpl
index c6611ef1d..0347de673 100644
--- a/data/templates/containers/registry.tmpl
+++ b/data/templates/containers/registry.tmpl
@@ -1,5 +1,5 @@
### Autogenerated by /usr/libexec/vyos/conf_mode/containers.py ###
{% if registry is defined and registry is not none %}
- unqualified-search-registries = {{ registry }}
+unqualified-search-registries = {{ registry }}
{% endif %}