aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/scripts/virsh_net/net_public.xml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/scripts/virsh_net/net_public.xml.j2')
-rw-r--r--mcp/scripts/virsh_net/net_public.xml.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/scripts/virsh_net/net_public.xml.j2 b/mcp/scripts/virsh_net/net_public.xml.j2
index bc9d64dc1..737b638b3 100644
--- a/mcp/scripts/virsh_net/net_public.xml.j2
+++ b/mcp/scripts/virsh_net/net_public.xml.j2
@@ -9,7 +9,7 @@
{%- set cluster = {'has_virtual_nodes': False} %}
{%- for node in conf.nodes %}
{%- if not cluster.has_virtual_nodes and node.node.type == 'virtual' %}
- {%- set _ = cluster.update({'has_virtual_nodes': True}) %}
+ {%- do cluster.update({'has_virtual_nodes': True}) %}
{%- endif %}
{%- endfor %}
{%- if conf.idf.net_config.public is defined %}