Fix get information about network adapters.

lvmraid
Mike Hiretsky 13 years ago
parent 55d357be7c
commit 48681dcbc6

@ -104,7 +104,7 @@ class fillVars(object, glob_attr):
return ""
interfaces = ip.getInterfaces()
net_hash = {}
pciEthernet = lspci("Ethernet controller",shortInfo=True)
pciEthernet = lspci(shortInfo=True)
for interface in interfaces:
ipaddr,mask = ip.receiveIpAndMask(interface)
dhcp = ip.isDhcpIp(interface)

Loading…
Cancel
Save