Modify platform selection on add new Qemu Component

This commit is contained in:
Rajnikant Lodhi 2022-08-01 10:34:41 +05:30
parent 1e0afa2460
commit a1163f0274

View File

@ -65,7 +65,7 @@ export class AddQemuVmTemplateComponent implements OnInit {
}); });
this.memoryForm = this.formBuilder.group({ this.memoryForm = this.formBuilder.group({
ramMemory: new FormControl('256', Validators.required), ramMemory: new FormControl('', Validators.required),
}); });
this.diskForm = this.formBuilder.group({ this.diskForm = this.formBuilder.group({
@ -120,7 +120,7 @@ export class AddQemuVmTemplateComponent implements OnInit {
}); });
this.selectPlatform = this.configurationService.getPlatform(); this.selectPlatform = this.configurationService.getPlatform();
this.selectedPlatform = this.selectPlatform[0]; // this.selectedPlatform = this.selectPlatform[0];
this.consoleTypes = this.configurationService.getConsoleTypes(); this.consoleTypes = this.configurationService.getConsoleTypes();
}); });