Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -114,7 +114,8 @@ def netgroup(tree): ...@@ -114,7 +114,8 @@ def netgroup(tree):
pass pass
pass pass
for k in tree._host_._interface_._kickstart_: 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_): k._parent._ip_):
entry = "(%s,,)" % fqn(tree, ip)[0:-1] entry = "(%s,,)" % fqn(tree, ip)[0:-1]
key = "ks-%s" % k.file[0:] key = "ks-%s" % k.file[0:]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment