diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index 5099b2eba3..3e1bf8688c 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -261,7 +261,7 @@ class VmxImageHandler(ImageHandler): # Handle disk/network related options mac = None - ret.append("-domain-name %s" % self.vm.info['name']) + ret = ret + ["-domain-name", "%s" % self.vm.info['name']] for (name, info) in deviceConfig: if name == 'vbd': uname = sxp.child_value(info, 'uname')