Fix detect dhcp

master3.3
Mike Hiretsky 12 years ago
parent ae13a44ba5
commit 3026ad56dd

@ -263,7 +263,7 @@ class VariableOsInstallNetStatus(NetHelper,Variable):
if getOperState(iface) == 'down':
return "off"
else:
"dhcp"
return "dhcp"
rootDevNfs = self.Get('os_root_dev') == '/dev/nfs'
return statusValue(getIp(iface),"on" \
if rootDevNfs or isDhcpIp(iface) else "off")

Loading…
Cancel
Save