1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00
iiab/roles/network/templates/network/rpi.j2
2017-12-03 09:47:03 -06:00

17 lines
490 B
Django/Jinja

# iiab_network_mode is {{ iiab_network_mode }}
# gui_desired_network_role is {{ gui_desired_network_role }}
{% if iiab_network_mode != "Appliance" %}
################# LANCONTROLLER ###################
auto br0
iface br0 inet manual
{% if iiab_wired_lan_iface is defined %}
bridge_ports {{ iiab_wired_lan_iface }}
{% else %}
bridge_ports none
{% endif %}
bridge_maxwait 0
dns-nameservers 127.0.0.1
dns-search {{ iiab_domain }}
{% endif %}
{# end LANCONTROLLER #}