diff --git a/src/app/components/preferences/qemu/add-qemu-vm-template/add-qemu-vm-template.component.ts b/src/app/components/preferences/qemu/add-qemu-vm-template/add-qemu-vm-template.component.ts index 1b3ea490..1a1f4c75 100644 --- a/src/app/components/preferences/qemu/add-qemu-vm-template/add-qemu-vm-template.component.ts +++ b/src/app/components/preferences/qemu/add-qemu-vm-template/add-qemu-vm-template.component.ts @@ -109,10 +109,11 @@ export class AddQemuVmTemplateComponent implements OnInit { }); - this.qemuService.getBinaries(this.controller).subscribe((qemuBinaries: QemuBinary[]) => { - this.qemuBinaries = qemuBinaries; - if (this.qemuBinaries[0]) this.selectedBinary = this.qemuBinaries[0]; - }); + // this.qemuService.getBinaries(this.controller).subscribe((qemuBinaries: QemuBinary[]) => { + // debugger + // this.qemuBinaries = qemuBinaries; + // if (this.qemuBinaries[0]) this.selectedBinary = this.qemuBinaries[0]; + // }); this.qemuService.getImages(this.controller).subscribe((qemuImages: QemuImage[]) => { this.qemuImages = qemuImages; @@ -175,9 +176,8 @@ export class AddQemuVmTemplateComponent implements OnInit { addTemplate() { if (!this.nameForm.invalid && !this.memoryForm.invalid && (this.selectedImage || this.chosenImage)) { this.qemuTemplate.ram = +this.memoryForm.get('ramMemory').value; - this.qemuTemplate.qemu_path = this.selectedBinary.path; + // this.qemuTemplate.qemu_path = this.selectedBinary.path; this.qemuTemplate.platform = this.selectedPlatform; - if (this.newImageSelected) { this.qemuTemplate.hda_disk_image = this.diskForm.get('fileName').value; } else { diff --git a/src/app/components/preferences/qemu/qemu-vm-template-details/qemu-vm-template-details.component.ts b/src/app/components/preferences/qemu/qemu-vm-template-details/qemu-vm-template-details.component.ts index c34bfd53..0f56e424 100644 --- a/src/app/components/preferences/qemu/qemu-vm-template-details/qemu-vm-template-details.component.ts +++ b/src/app/components/preferences/qemu/qemu-vm-template-details/qemu-vm-template-details.component.ts @@ -63,9 +63,9 @@ export class QemuVmTemplateDetailsComponent implements OnInit { this.qemuTemplate = qemuTemplate; this.fillCustomAdapters(); - this.qemuService.getBinaries(controller).subscribe((qemuBinaries: QemuBinary[]) => { - this.binaries = qemuBinaries; - }); + // this.qemuService.getBinaries(controller).subscribe((qemuBinaries: QemuBinary[]) => { + // this.binaries = qemuBinaries; + // }); }); }); } diff --git a/src/app/components/project-map/new-template-dialog/new-template-dialog.component.html b/src/app/components/project-map/new-template-dialog/new-template-dialog.component.html index 848ab358..213ade77 100644 --- a/src/app/components/project-map/new-template-dialog/new-template-dialog.component.html +++ b/src/app/components/project-map/new-template-dialog/new-template-dialog.component.html @@ -131,7 +131,7 @@
-
+
Install required files