Commit 3a8cc70a by Guba Sándor

automatically update architecture based on test driver

parent 334c461b
...@@ -169,6 +169,8 @@ def create(vm_desc): ...@@ -169,6 +169,8 @@ def create(vm_desc):
vm = VMInstance.deserialize(vm_desc) vm = VMInstance.deserialize(vm_desc)
# Setting proper hypervisor # Setting proper hypervisor
vm.vm_type = os.getenv("HYPERVISOR_TYPE", "test") vm.vm_type = os.getenv("HYPERVISOR_TYPE", "test")
if vm.vm_type == "test":
vm.arch = "i686"
vm_xml_dump = vm.dump_xml() vm_xml_dump = vm.dump_xml()
logging.info(vm_xml_dump) logging.info(vm_xml_dump)
# Emulating DOMAIN_START_PAUSED FLAG behaviour on test driver # Emulating DOMAIN_START_PAUSED FLAG behaviour on test driver
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment