diff --git a/software/kvm/buildout.hash.cfg b/software/kvm/buildout.hash.cfg index 2f0ebaf0beeb3547ae3cd24085e848aa38eacc7c..4575de220047dc2062cbba850ed4083111d68921 100644 --- a/software/kvm/buildout.hash.cfg +++ b/software/kvm/buildout.hash.cfg @@ -19,7 +19,7 @@ md5sum = 028b6a6456d744c11b1bb2c51ecd51b2 [template-kvm] filename = instance-kvm.cfg.jinja2 -md5sum = c298aaa20a368ddc118b8bb22dc84dc3 +md5sum = 26a947c75792072a7b526cb18b617b10 [template-kvm-cluster] filename = instance-kvm-cluster.cfg.jinja2.in diff --git a/software/kvm/instance-kvm.cfg.jinja2 b/software/kvm/instance-kvm.cfg.jinja2 index 5b235eff2784298687a933aada3a4cc833362299..ad377452898aeabf21d09ab85427a8b697728b5d 100644 --- a/software/kvm/instance-kvm.cfg.jinja2 +++ b/software/kvm/instance-kvm.cfg.jinja2 @@ -444,7 +444,7 @@ maximum-extra-disk-amount = {{ disk_number }} {% set external_port = 10000 + port|int() -%} nat-rule-port-{{proto}}-{{port}} = ${slap-network-information:global-ipv6} : ${6tunnel-{{proto}}-{{external_port}}:ipv6-port} {% if slapparameter_dict.get('publish-nat-url', False) -%} -nat-rule-url-{{port}} = [${slap-network-information:global-ipv6}]:${6tunnel-{{external_port}}:ipv6-port} +nat-rule-url-{{proto}}-{{port}} = [${slap-network-information:global-ipv6}]:${6tunnel-{{proto}}-{{external_port}}:ipv6-port} {% endif -%} {% endfor -%} {% endif -%}