commit | 9b77ae5183b4e02d8b26784be024d9ca8ace8699 | [log] [tgz] |
---|---|---|
author | Evgeny Antyshev <eantyshev@virtuozzo.com> | Tue Feb 16 09:48:57 2016 +0000 |
committer | Evgeny Antyshev <eantyshev@virtuozzo.com> | Tue Feb 16 09:48:57 2016 +0000 |
tree | 5d0c3fa339cb89c43a020caf1b20c9d16515165e | |
parent | 8e93dc0f57f70f1f30eb1e5e55afa3c39b94d85b [diff] |
Get NIC name by "ip -o link" "ip -o addr" doesn't include MAC address for Ubuntu 14 and CentOS 7. "ip -o link" is a good substitute, since we're not looking for IP addresses in this procedure. Initial procedure is called "get_nic_name_by_ip", and the new is "get_nic_name_by_mac" Change-Id: Id070a51a3b496b8b746e27f7833f61282b25736e