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

Merge pull request #2259 from holta/more_bs

Merge @jvonau's PR #2226 fix for WiFi installs
This commit is contained in:
A Holt 2020-02-17 13:18:00 -05:00 committed by GitHub
commit 7ce68eaa86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View file

@ -91,7 +91,6 @@ systemd_networkd_active: False
# The values here are default local variables
gui_wan_iface: "unset"
gui_static_wan_ip: "unset"
gui_desired_network_role: Gateway
wondershaper_dspeed: "4096"
wondershaper_upspeed: "1024"

View file

@ -6,20 +6,20 @@
# src: network/resolvconf.j2
- name: BIND may be affected
service:
systemd:
name: "{{ dns_service }}"
state: stopped
when: named_install and dnsmasq_enabled
# dhcpd_server release the interface
- name: dhcpd_server may be affected - stopping dhcpd
service:
systemd:
name: dhcpd
state: stopped
when: dhcpd_install | bool
- name: dhcpd_server may be affected - stopping dnsmasq
service:
systemd:
name: dnsmasq
state: stopped
when: dnsmasq_install | bool
when: dnsmasq_install and not no_net_restart

View file

@ -74,6 +74,6 @@
systemd:
name: "{{ dhcp_service2 }}"
state: restarted
when: not no_net_restart
#when: (iiab_network_mode != "Appliance") # Sufficient b/c br0 exists thanks to /etc/network/interfaces.d/iiab
#when: (iiab_network_mode != "Appliance") and (not no_net_restart)
#when: iiab_network_mode != "Appliance" and iiab_wan_iface != discovered_wireless_iface

View file

@ -1,6 +1,7 @@
# 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" %}
################# LANCONTROLLER ###################
auto br0