diff --git a/roles/network/tasks/detected_network.yml b/roles/network/tasks/detected_network.yml index cdd73cc98..eb0e50500 100644 --- a/roles/network/tasks/detected_network.yml +++ b/roles/network/tasks/detected_network.yml @@ -141,20 +141,26 @@ iiab_lan_iface: "{{ discovered_lan_iface }}" when: 'discovered_lan_iface != "none" and num_lan_interfaces == "1"' -- name: For Debian, always use bridging - set_fact: - iiab_lan_iface: br0 - when: 'discovered_lan_iface != "none" and num_lan_interfaces >= "1" and is_debuntu' +# big hammer for now +#- name: For Debian, always use bridging +# set_fact: +# iiab_lan_iface: br0 +# when: 'discovered_lan_iface != "none" and num_lan_interfaces >= "1" and is_debuntu' -- name: 2 or more devices on the LAN - use bridging - set_fact: - iiab_lan_iface: br0 - when: 'discovered_lan_iface != "none" and num_lan_interfaces >= "2" and not is_debian' +#- name: 2 or more devices on the LAN - use bridging +# set_fact: +# iiab_lan_iface: br0 +# when: 'discovered_lan_iface != "none" and num_lan_interfaces >= "2" and not is_debian' -- name: WiFi is on the LAN - use bridging +#- name: WiFi is on the LAN - use bridging +# set_fact: +# iiab_lan_iface: br0 +# when: iiab_wireless_lan_iface != "none" + +- name: in VM disable bridging set_fact: - iiab_lan_iface: br0 - when: iiab_wireless_lan_iface != "none" + iiab_lan_iface: none + when: is_VM is defined # OK try old gw this is a best guess based on what's in # /etc/sysconfig/iiab_wan_device's last state intended to