Commit 0bc8c836 authored by Alain Takoudjou's avatar Alain Takoudjou

kvm: fix generated script for ipv6 configuration

parent 22ebf9fd
...@@ -475,9 +475,10 @@ ipv4-network-info = ...@@ -475,9 +475,10 @@ ipv4-network-info =
{% endif %} {% endif %}
ipv6-network-info = ipv6-network-info =
{% if use_tap == 'true' and slap_configuration.get('tap-ipv6-addr', '') != "" -%} {% if use_tap == 'true' and slap_configuration.get('tap-ipv6-addr', '') != "" %}
Use these configurations below to configure IPv6 on interface {{ iface }} in your VM. Use these configurations below to configure IPv6 on interface {{ iface }} in your VM.
IFACE={{ iface }} IFACE={{ iface }}
ip link set dev $IFACE up
${network-config-ipv6:ipv6-add-address} ${network-config-ipv6:ipv6-add-address}
${network-config-ipv6:ipv6-add-default-route} ${network-config-ipv6:ipv6-add-default-route}
{% if enable_http == 'true' %} {% if enable_http == 'true' %}
......
...@@ -99,7 +99,7 @@ recipe = hexagonit.recipe.download ...@@ -99,7 +99,7 @@ recipe = hexagonit.recipe.download
ignore-existing = true ignore-existing = true
url = ${:_profile_base_location_}/instance-kvm.cfg.jinja2 url = ${:_profile_base_location_}/instance-kvm.cfg.jinja2
mode = 644 mode = 644
md5sum = b4a95f8398dac8de58254899b4545439 md5sum = 93ffbb44a88f4fb0d7fd458bc67a6b22
download-only = true download-only = true
on-update = true on-update = true
......
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