mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-01 18:46:43 +00:00
Update new-template-dialog.component.ts
This commit is contained in:
parent
b2e96172e6
commit
1e36a721b6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user