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..350795fb 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,19 +131,6 @@
-
- Qemu binary
-
-
- {{ binary.path }}
-
-
-
Install required files
-
-
-
-
+
+
+
+
diff --git a/src/app/components/project-map/node-editors/configurator/cloud/configurator-cloud.component.ts b/src/app/components/project-map/node-editors/configurator/cloud/configurator-cloud.component.ts
index 215fcc1f..f4acae0b 100644
--- a/src/app/components/project-map/node-editors/configurator/cloud/configurator-cloud.component.ts
+++ b/src/app/components/project-map/node-editors/configurator/cloud/configurator-cloud.component.ts
@@ -21,7 +21,6 @@ export class ConfiguratorDialogCloudComponent implements OnInit {
name: string;
generalSettingsForm: FormGroup;
consoleTypes: string[] = [];
- binaries: QemuBinary[] = [];
onCloseOptions = [];
bootPriorities = [];
diskInterfaces: string[] = [];
diff --git a/src/app/components/project-map/node-editors/configurator/qemu/configurator-qemu.component.html b/src/app/components/project-map/node-editors/configurator/qemu/configurator-qemu.component.html
index 14678fce..fb29217d 100644
--- a/src/app/components/project-map/node-editors/configurator/qemu/configurator-qemu.component.html
+++ b/src/app/components/project-map/node-editors/configurator/qemu/configurator-qemu.component.html
@@ -11,6 +11,13 @@
+
+
+
+ {{ platform }}
+
+
+
-
-
-
- {{ binary.path }}
-
-
-
+
diff --git a/src/app/components/project-map/node-editors/configurator/qemu/configurator-qemu.component.ts b/src/app/components/project-map/node-editors/configurator/qemu/configurator-qemu.component.ts
index 246804aa..e610f3c5 100644
--- a/src/app/components/project-map/node-editors/configurator/qemu/configurator-qemu.component.ts
+++ b/src/app/components/project-map/node-editors/configurator/qemu/configurator-qemu.component.ts
@@ -23,7 +23,6 @@ export class ConfiguratorDialogQemuComponent implements OnInit {
name: string;
generalSettingsForm: FormGroup;
consoleTypes: string[] = [];
- binaries: QemuBinary[] = [];
onCloseOptions = [];
bootPriorities = [];
diskInterfaces: string[] = [];
@@ -31,6 +30,7 @@ export class ConfiguratorDialogQemuComponent implements OnInit {
displayedColumns: string[] = ['adapter_number', 'port_name', 'adapter_type', 'actions'];
networkTypes = [];
qemuImages: QemuImage[] = [];
+ selectPlatform: string[] = [];
private conf = {
autoFocus: false,
@@ -63,13 +63,11 @@ export class ConfiguratorDialogQemuComponent implements OnInit {
this.getConfiguration();
});
- this.qemuService.getBinaries(this.controller).subscribe((qemuBinaries: QemuBinary[]) => {
- this.binaries = qemuBinaries;
- });
-
this.qemuService.getImages(this.controller).subscribe((qemuImages: QemuImage[]) => {
this.qemuImages = qemuImages;
});
+ this.selectPlatform = this.qemuConfigurationService.getPlatform();
+
}
openQemuImageCreator() {
diff --git a/src/app/services/qemu.service.ts b/src/app/services/qemu.service.ts
index 0bf589e9..88d8d461 100644
--- a/src/app/services/qemu.service.ts
+++ b/src/app/services/qemu.service.ts
@@ -23,9 +23,6 @@ export class QemuService {
return `${controller.protocol}//${controller.host}:${controller.port}/images/upload/${filename}`;
}
- getBinaries(controller:Controller ): Observable {
- return this.httpController.get(controller, '/computes/local/qemu/binaries') as Observable;
- }
getImages(controller:Controller ): Observable {
return this.httpController.get(controller, '/images?image_type=qemu') as Observable;