Commit b6e38ca4 authored by Alain Takoudjou's avatar Alain Takoudjou

kvm: fix the check of use_nat parameter

parent 62c2b0a8
......@@ -106,7 +106,7 @@ on-update = true
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/instance-kvm-cluster.cfg.jinja2.in
mode = 644
md5sum = 6ac9d1b06398b57cc1c8d63a9c492415
md5sum = 3fc6611feaabcacd7e51f3b5681120fd
download-only = true
on-update = true
......
......@@ -74,7 +74,7 @@ config-document-path = ${hash-code:passwd}
return =
backend-url
url
{% if str(use_nat).lower() -%}
{% if str(use_nat).lower() == 'true' -%}
{% for port in nat_rules_list -%}
{{ ' ' }}nat-rule-url-{{ port }}
{% endfor -%}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment