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()
|
||
|
|