aboutsummaryrefslogtreecommitdiffstats
path: root/os_net_config
diff options
context:
space:
mode:
Diffstat (limited to 'os_net_config')
-rw-r--r--os_net_config/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/os_net_config/utils.py b/os_net_config/utils.py
index cd202f6..f0ab307 100644
--- a/os_net_config/utils.py
+++ b/os_net_config/utils.py
@@ -81,7 +81,8 @@ def ordered_active_nics():
for name in glob.iglob(_SYS_CLASS_NET + '/*'):
nic = name[(len(_SYS_CLASS_NET) + 1):]
if _is_active_nic(nic):
- if nic.startswith('em') or nic.startswith('eth'):
+ if nic.startswith('em') or nic.startswith('eth') or \
+ nic.startswith('eno'):
embedded_nics.append(nic)
else:
nics.append(nic)