acrn-config: modify the key of vuart base
Return correct key of vuart base to webUI for parsing.
Acked-by: Victor Sun
@@ -718,14 +718,14 @@ def avl_vuart_ui_select(scenario_info):
vm_type = get_order_type_by_vmid(vm_i)
if vm_type == "SOS_VM":
- key = "vm={}:vuart=0,base".format(vm_i)
+ key = "vm={},vuart=0,base".format(vm_i)
tmp_vuart[key] = ['SOS_COM1_BASE', 'INVALID_COM_BASE']
- key = "vm={}:vuart=1,base".format(vm_i)
+ key = "vm={},vuart=1,base".format(vm_i)
tmp_vuart[key] = ['SOS_COM2_BASE', 'INVALID_COM_BASE']
else:
- key = "vm={}:vuart=0,base".format(vm_i)
+ key = "vm={},vuart=0,base".format(vm_i)
tmp_vuart[key] = ['INVALID_COM_BASE', 'COM1_BASE']
- key = "vm={}:vuart=1,base".format(vm_i)
+ key = "vm={},vuart=1,base".format(vm_i)
tmp_vuart[key] = ['INVALID_COM_BASE', 'COM2_BASE']
#print(tmp_vuart)
