Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandoislas committed May 12, 2017
2 parents b7ab1ee + 1d1f3ab commit 58a1d5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/util/interface_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ def is_managed_by_network_manager(cls, interface):
for line in conf_data:
if line.startswith("unmanaged-devices=") and "mac:" + cls.get_mac(interface) not in line:
managed = True # Ensure configs with duplicates raise an unmanaged prompt
if "unmanaged-devices=" not in " ".join(conf_data):
managed = True
Logger.debug("Interface \"%s\" managed by network manager: %s", interface, managed)
return managed

Expand Down

0 comments on commit 58a1d5d

Please sign in to comment.