mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-18 14:58:15 +00:00
Update new-template-dialog.component.ts
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user