This commit is contained in:
emellor@leeni.uk.xensource.com committed 2005-11-08 12:31:43 +01:00
commit c0c4bfbea8
34 files changed
+564 -209

No files matched your search

+3
View File
@@ -24,6 +24,7 @@ import xen.lowlevel.xc
from xen.xend import sxp
from xen.xend.XendError import VmError
from xen.xend.XendLogging import log
from xen.xend.server.netif import randomMAC
xc = xen.lowlevel.xc.new()
@@ -276,6 +277,8 @@ class VmxImageHandler(ImageHandler):
ret.append("%s" % vbdparam)
if name == 'vif':
mac = sxp.child_value(info, 'mac')
if mac == None:
mac = randomMAC()
ret.append("-macaddr")
ret.append("%s" % mac)
if name == 'vtpm':
Whitespace-only changes.
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.