mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-18 23:36:53 +00:00
Update new-template-dialog.component.ts
This commit is contained in:
parent
b0c331d054
commit
fc6a5671fb
@ -332,6 +332,10 @@ export class NewTemplateDialogComponent implements OnInit {
|
||||
}
|
||||
|
||||
createQemuTemplate(image: Image) {
|
||||
if (!this.selectedBinary) {
|
||||
this.toasterService.error('Please select QEMU binary first');
|
||||
return;
|
||||
}
|
||||
let qemuTemplate: QemuTemplate = new QemuTemplate();
|
||||
qemuTemplate.name = this.applianceToInstall.name;
|
||||
qemuTemplate.ram = this.applianceToInstall.qemu.ram;
|
||||
|
Loading…
x
Reference in New Issue
Block a user