[XEND] Do not delete VNC password from configuration.

Fixes reboot of HVM guest when VNC authentication is in use.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kaf24@localhost.localdomain committed 2006-10-27 18:15:14 +01:00
1 parent 98781cd038
commit 9033715d28
1 file changed
-6
-6
View File
@@ -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):
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.