Commit a9bc4ca3 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Version 2012-11-08 13:28

M  src/hostinfo/yp.py
parent 1dadd84e
......@@ -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:]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment