From 1e36a721b6b9124382c11dbb53eb811db3be6131 Mon Sep 17 00:00:00 2001 From: piotrpekala7 <31202938+piotrpekala7@users.noreply.github.com> Date: Thu, 6 Aug 2020 00:49:56 +0200 Subject: [PATCH] Update new-template-dialog.component.ts --- .../new-template-dialog/new-template-dialog.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/components/project-map/new-template-dialog/new-template-dialog.component.ts b/src/app/components/project-map/new-template-dialog/new-template-dialog.component.ts index 87112159..6451dbb8 100644 --- a/src/app/components/project-map/new-template-dialog/new-template-dialog.component.ts +++ b/src/app/components/project-map/new-template-dialog/new-template-dialog.component.ts @@ -426,6 +426,9 @@ export class NewTemplateDialogComponent implements OnInit { qemuTemplate.boot_priority = this.applianceToInstall.qemu.boot_priority; qemuTemplate.console_type = this.applianceToInstall.qemu.console_type; qemuTemplate.hda_disk_interface = this.applianceToInstall.qemu.hda_disk_interface; + qemuTemplate.hdb_disk_interface = this.applianceToInstall.qemu.hdb_disk_interface; + qemuTemplate.hdc_disk_interface = this.applianceToInstall.qemu.hdc_disk_interface; + qemuTemplate.hdd_disk_interface = this.applianceToInstall.qemu.hdd_disk_interface; qemuTemplate.builtin = this.applianceToInstall.builtin; qemuTemplate.category = this.applianceToInstall.category; qemuTemplate.first_port_name = this.applianceToInstall.first_port_name; @@ -437,6 +440,7 @@ export class NewTemplateDialogComponent implements OnInit { qemuTemplate.hda_disk_image = version.images.hda_disk_image; qemuTemplate.hdb_disk_image = version.images.hdb_disk_image; qemuTemplate.template_type = 'qemu'; + qemuTemplate.usage = this.applianceToInstall.usage; this.qemuService.addTemplate(this.server, qemuTemplate).subscribe((template) => { this.templateService.newTemplateCreated.next(template as any as Template);