pvl/hosts/dhcp.py
changeset 697 3c3ac207ce3f
parent 689 c258e3ff6d32
child 698 656178fb8607
--- a/pvl/hosts/dhcp.py	Mon Mar 02 19:43:38 2015 +0200
+++ b/pvl/hosts/dhcp.py	Mon Mar 02 19:45:06 2015 +0200
@@ -10,10 +10,10 @@
     """
 
     yield 'option', 'host-name', host.name
-    yield 'hardware', 'ethernet', ethernet
+    yield 'hardware', 'ethernet', pvl.dhcp.config.Field(ethernet)
 
     if host.ip:
-        yield 'fixed-address', str(host.ip)
+        yield 'fixed-address', pvl.dhcp.config.Field(str(host.ip))
       
     for bootopt in ('next-server', 'filename'):
         if bootopt in host.boot: