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