--- .../en-US/Writing_a_test_case.xml | 6 +++--- utils/xml_builder.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/User_Guide/libvirt-test-API_Guide/en-US/Writing_a_test_case.xml b/docs/User_Guide/libvirt-test-API_Guide/en-US/Writing_a_test_case.xml index e16fb33..40e365a 100644 --- a/docs/User_Guide/libvirt-test-API_Guide/en-US/Writing_a_test_case.xml +++ b/docs/User_Guide/libvirt-test-API_Guide/en-US/Writing_a_test_case.xml @@ -247,13 +247,13 @@ def install_domain(dict): prepare_cdrom(url, dict['kickstart'], domname, logger) xmlobj = xml_builder.XmlBuilder() - guestinstxml = xmlobj.build_domain_install(dict) - logger.debug('dump installation domain xml:\n%s' %guestinstxml) + domxml = xmlobj.build_domain_install(dict) + logger.debug('dump installation domain xml:\n%s' %domxml) conn = connectAPI.ConnectAPI.open("xen:///") domobj = domainAPI.DomainAPI(conn) logger.info('define domain from xml description') - domobj.define_domain(guestinstxml) + domobj.define_domain(domxml) logger.info('start installation domain ...') domobj.start_domain(domname) diff --git a/utils/xml_builder.py b/utils/xml_builder.py index c11b430..a41ab72 100644 --- a/utils/xml_builder.py +++ b/utils/xml_builder.py @@ -331,7 +331,7 @@ if __name__ == "__main__": params['fullimagepath'] = '/tmp/netfs/rhel5u5' params['bootcd'] = '/tmp/custom.iso' - guestinstxml = xmlobj.build_domain_install(params) + domxml = xmlobj.build_domain_install(params) #---------------------------------------- -- 1.7.7.3 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list