1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00
iiab/roles/network/templates/network/rpi.j2
2020-05-01 10:27:45 -05:00

20 lines
670 B
Django/Jinja

# iiab_network_mode is {{ iiab_network_mode }}
{% if gui_desired_network_role is defined %}
# gui_desired_network_role is {{ gui_desired_network_role }}
{% endif %}
{% if iiab_network_mode != "Appliance" %}
# auto wired slave creation is suppressed in detected_network.yml
# 'none' would become the name of the wired slave device.
################# 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 #}