X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/867613f209f2f414afd261258c73b6adf4bdd905..92dd742e75e10d804cf1f0010c3b18e39902cdb5:/xen-ips diff --git a/xen-ips b/xen-ips index a56b402..3a69a77 100755 --- a/xen-ips +++ b/xen-ips @@ -37,7 +37,7 @@ def usage(): print >> sys.stderr, "USAGE: " + sys.argv[0] + " " 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()