glean/glean
Markos Chandras ac8458dac8 glean: Fix SUSE support for bridges and vlan configurations.
We need to check the /etc/sysconfig/network/ifcfg-* files for bridges
and vlans similar to regular interfaces. Moreover, the existing code for
checking whether the host is a SUSE distribution did not work for newer
releases (openSUSE Leap 15 is being reported as 'opensuse-leap' and
Tumbleweed is being reported as 'opensuse-tumbleweed') so we need to
refactor it a bit to actually check whether the string 'suse' exists in
the distro variable to simplify things.

Finally, the systemd service was missing the check for the SUSE network
files so we add that as well. systemd should apply a logical AND in
these conditionals so it should work fine on both Red Hat and SUSE
distros.

Change-Id: Ic5c6745dbe0077089ecaa1dd8f9b4949ac80efae
2018-06-06 12:31:13 +01:00
..
_vendor Fix SUSE detection on Tumbleweed and SLE15 2018-02-17 12:49:14 -05:00
init glean: Fix SUSE support for bridges and vlan configurations. 2018-06-06 12:31:13 +01:00
tests Merge "Add networkd support" 2018-03-29 05:42:08 +00:00
__init__.py Rename module to Glean 2015-04-13 04:45:28 +00:00
cmd.py glean: Fix SUSE support for bridges and vlan configurations. 2018-06-06 12:31:13 +01:00
install.py Add networkd support 2018-03-27 11:03:51 -05:00
systemlock.py Create systemwide lock for glean 2015-08-17 14:56:09 +00:00
utils.py Add networkd support 2018-03-27 11:03:51 -05:00