diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index 9749e9d861..0d07fbe928 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -361,9 +361,6 @@ class HVMImageHandler(ImageHandler): if nographic: ret.append('-nographic') - # remove password - if vncpasswd_vmconfig: - config.remove(['vncpasswd', vncpasswd_vmconfig]) return ret if vnc: @@ -395,9 +392,6 @@ class HVMImageHandler(ImageHandler): if vncpasswd != '': self.vm.storeVm("vncpasswd", vncpasswd) - # remove password - config.remove(['vncpasswd', vncpasswd_vmconfig]) - return ret def createDeviceModel(self):