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

Version 2012-03-27 15:46

M  src/hostinfo/dhcpd.py
parent 8ce6ddb4
......@@ -210,6 +210,7 @@ def emit_subnet(tree, n, dhcphost, kickstart, next_server=None):
ether = i._parent.ethernet[0]
ip = i.address[0]
if ether:
assert ether.lower() == ether, "%s is not lower-case" % ether
result += " host %s.%s {\n"% (i.name[0:], n.domain[0])
result += " hardware ethernet %s;\n" % ether
result += " fixed-address %s;\n" % ip
......
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