From dd85fcaa3621beaacb30d09529b0262a473cee76 Mon Sep 17 00:00:00 2001 From: Anders Blomdell <anders.blomdell@control.lth.se> Date: Tue, 27 Mar 2012 15:46:52 +0200 Subject: [PATCH] Version 2012-03-27 15:46 M src/hostinfo/dhcpd.py --- src/hostinfo/dhcpd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hostinfo/dhcpd.py b/src/hostinfo/dhcpd.py index 1768cf3..194a5fd 100755 --- a/src/hostinfo/dhcpd.py +++ b/src/hostinfo/dhcpd.py @@ -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 -- GitLab