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:
parent
1164d2de8d
commit
5d2ceb3860
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue