config_tools: hide vm_type for Service VM

For Service OS, 'vm_type' should not be modified.
Delete it from 'ServiceVMBasicConfigType' to forbid unexpected error.

Tracked-On: #7528
Signed-off-by: Yuanyuan Zhao <yuanyuan.zhao@linux.intel.com>
This commit is contained in:
Yuanyuan Zhao 2022-05-25 15:24:11 +00:00 committed by acrnsi-robot
parent 1164d2de8d
commit 5d2ceb3860
1 changed files with 3 additions and 0 deletions

View File

@ -205,6 +205,9 @@ export default {
this.currentFormData = this.scenario.vm[i]
}
}
if (this.currentFormData['load_order'] === 'SERVICE_VM') {
delete this.currentFormSchema.BasicConfigType.properties.vm_type
}
},
switchTab(tabVMID) {
this.activeVMID = tabVMID;