diff --git a/src/hostinfo/yp.py b/src/hostinfo/yp.py index d05f7be242cf7a667f671800ca7977c57d9deb67..b5284a2cc176621dd7047d384922b891e7163bea 100755 --- a/src/hostinfo/yp.py +++ b/src/hostinfo/yp.py @@ -114,7 +114,8 @@ def netgroup(tree): pass pass for k in tree._host_._interface_._kickstart_: - for ip in filter(lambda ip: not ip.alias[0] and not ip.vlan[0], + for ip in filter(lambda ip: (not ip.alias[0] and not ip.vlan[0] and + not ip.never[0]), k._parent._ip_): entry = "(%s,,)" % fqn(tree, ip)[0:-1] key = "ks-%s" % k.file[0:]