Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Virtualization:Tests
virt-test
_add-support-for-2nd-phase-of-installation.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _add-support-for-2nd-phase-of-installation.patch of Package virt-test
--- virttest/tests/unattended_install.py 2014-03-18 16:12:28.384314077 +0100 +++ virttest/tests/unattended_install.py.patched 2014-03-19 09:25:52.308647918 +0100 @@ -1083,12 +1083,27 @@ funcatexit.unregister(env, params.get("type"), copy_file_from_nfs, src, dst, mount_point, image_name) + # By default, There is no 2nd phase of installation for SLES12, + # So please set wait_second_phase = no in cfg file if using SLES12 guest. + wait_second_phase = params.get("wait_second_phase", "yes") while (time.time() - start_time) < install_timeout: try: vm.verify_alive() # Due to a race condition, sometimes we might get a MonitorError # before the VM gracefully shuts down, so let's capture MonitorErrors. except (virt_vm.VMDeadError, qemu_monitor.MonitorError), e: + if wait_second_phase == "yes": + logging.debug("Waiting for second phase of install") + wait_second_phase = "no" + new_params = params.copy() + del new_params["boot_path"] + del new_params["kernel"] + del new_params["initrd"] + del new_params["kernel_params"] + del new_params["boot_once"] + time.sleep(1) + vm.create(params=new_params) + continue if params.get("wait_no_ack", "no") == "yes": break else:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor