Can attach multiple ISOs to the same domain at the same time

This commit is contained in:
2023-12-08 17:12:19 +01:00
parent f05ae9fd52
commit 64eb90c0a4
4 changed files with 79 additions and 65 deletions

View File

@ -52,7 +52,7 @@ interface VMInfoInterface {
memory: number;
number_vcpu: number;
vnc_access: boolean;
iso_file?: string;
iso_files: string[];
disks: VMDisk[];
networks: VMNetInterface[];
}
@ -68,7 +68,7 @@ export class VMInfo implements VMInfoInterface {
number_vcpu: number;
memory: number;
vnc_access: boolean;
iso_file?: string;
iso_files: string[];
disks: VMDisk[];
networks: VMNetInterface[];
@ -83,7 +83,7 @@ export class VMInfo implements VMInfoInterface {
this.number_vcpu = int.number_vcpu;
this.memory = int.memory;
this.vnc_access = int.vnc_access;
this.iso_file = int.iso_file;
this.iso_files = int.iso_files;
this.disks = int.disks;
this.networks = int.networks;
}
@ -96,6 +96,7 @@ export class VMInfo implements VMInfoInterface {
memory: 1024,
number_vcpu: 1,
vnc_access: true,
iso_files: [],
disks: [],
networks: [],
});