4b536f00b9
UI (bz 583728) Fix broken icons Cancel post-install reboot if VM is forced off Fix traceback if customizing a livecd install (bz 583712) Add pool refresh button Properly autodetect VNC keymap (bz 586201) Fix traceback when reconnecting to remote VNC console (bz 588254) Fix remote VNC connection with zsh as default shell
23 lines
784 B
Diff
23 lines
784 B
Diff
# HG changeset patch
|
|
# User Cole Robinson <crobinso@redhat.com>
|
|
# Date 1273168456 14400
|
|
# Node ID f2d3931243fe7576701dec6deddf19cfc0145409
|
|
# Parent beb2272277eecd4bdc4015c905edf0b910bf9fa8
|
|
Fix livecd 'customize before install' traceback
|
|
|
|
diff -r beb2272277ee -r f2d3931243fe src/virtManager/domain.py
|
|
--- a/src/virtManager/domain.py Wed May 05 16:46:46 2010 -0400
|
|
+++ b/src/virtManager/domain.py Thu May 06 13:54:16 2010 -0400
|
|
@@ -1990,7 +1990,10 @@
|
|
return libvirt.VIR_DOMAIN_SHUTOFF
|
|
|
|
def get_xml(self):
|
|
- return self._backend.get_config_xml()
|
|
+ xml = self._backend.get_config_xml()
|
|
+ if not xml:
|
|
+ xml = self._backend.get_config_xml(install=False)
|
|
+ return xml
|
|
def _get_inactive_xml(self):
|
|
return self.get_xml()
|
|
|