diff --git a/salt/modules/network.py b/salt/modules/network.py index 62363e0b40..2b04636ae0 100644 --- a/salt/modules/network.py +++ b/salt/modules/network.py @@ -233,8 +233,9 @@ def interfaces(): ''' ifaces = dict() if __salt__['cmd.has_exec']('ip'): - cmd = __salt__['cmd.run']('ip addr show') - ifaces = _interfaces_ip(cmd) + cmd1 = __salt__['cmd.run']('ip link show') + cmd2 = __salt__['cmd.run']('ip addr show') + ifaces = _interfaces_ip(cmd1 + cmd2) elif __salt__['cmd.has_exec']('ifconfig'): cmd = __salt__['cmd.run']('ifconfig -a') ifaces = _interfaces_ifconfig(cmd)