1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

using supplied 01-netcfg.yaml as example

note the use of yes in place of true for dhcp4
This commit is contained in:
Jerry Vonau 2018-12-29 13:16:47 -06:00
parent 0827827925
commit 4c93054d45

View file

@ -6,8 +6,8 @@ network:
renderer: networkd
{% endif %}
ethernets:
{% if wan_ip != "dhcp" %}
{{ iiab_wan_iface }}:
{% if wan_ip != "dhcp" %}
addresses:
- {{ wan_ip }}/{{ wan_cidr }}
gateway4: {{ wan_gateway }}
@ -16,12 +16,8 @@ network:
- {{ wan_nameserver }}
search:
- {{ iiab_domain }}
optional: true
{% else %}
{{ iiab_wan_iface }}:
addresses: []
dhcp4: true
optional: true
dhcp4: yes
{% endif %}
#{% if iiab_lan_iface == "br0" %}
# bridges: