Commit ce6fc867 authored by nanahira's avatar nanahira

fix netplan

parent 2190fcce
...@@ -7,6 +7,7 @@ network: ...@@ -7,6 +7,7 @@ network:
dhcp4: false dhcp4: false
dhcp6: false dhcp6: false
{% endfor %} {% endfor %}
{% if bonds | length > 0 %}
bonds: bonds:
{% for bond in bonds %} {% for bond in bonds %}
'{{bond.name}}': '{{bond.name}}':
...@@ -25,6 +26,8 @@ network: ...@@ -25,6 +26,8 @@ network:
dhcp4: false dhcp4: false
dhcp6: false dhcp6: false
{% endfor %} {% endfor %}
{% endif %}
{% if vlans | length > 0 %}
vlans: vlans:
{% for vlan in vlans %} {% for vlan in vlans %}
'{{vlan.link}}.{{vlan.tag}}': '{{vlan.link}}.{{vlan.tag}}':
...@@ -33,3 +36,4 @@ network: ...@@ -33,3 +36,4 @@ network:
dhcp4: false dhcp4: false
dhcp6: false dhcp6: false
{% endfor %} {% endfor %}
{% endif %}
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