advise users to disable the framebuffer
[invirt/packages/invirt-web.git] / xen-ips
diff --git a/xen-ips b/xen-ips
index a56b402..3a69a77 100755 (executable)
--- a/xen-ips
+++ b/xen-ips
@@ -37,7 +37,7 @@ def usage():
     print >> sys.stderr, "USAGE: " + sys.argv[0] + " <ip>"
 
 def addip(ip):
-    n = NIC(None, randomMAC(), ip, None)
+    n = NIC(machine_id=None, mac_addr=randomMAC(), ip=ip, hostname=None)
     ctx.current.save(n)
     ctx.current.flush()