Managed to insert an ISO file
This commit is contained in:
@ -27,6 +27,7 @@ interface VMInfoInterface {
|
||||
architecture: "i686" | "x86_64";
|
||||
memory: number;
|
||||
vnc_access: boolean;
|
||||
iso_file?: string;
|
||||
}
|
||||
|
||||
export class VMInfo implements VMInfoInterface {
|
||||
@ -39,6 +40,7 @@ export class VMInfo implements VMInfoInterface {
|
||||
architecture: "i686" | "x86_64";
|
||||
memory: number;
|
||||
vnc_access: boolean;
|
||||
iso_file?: string;
|
||||
|
||||
constructor(int: VMInfoInterface) {
|
||||
this.name = int.name;
|
||||
@ -50,6 +52,7 @@ export class VMInfo implements VMInfoInterface {
|
||||
this.architecture = int.architecture;
|
||||
this.memory = int.memory;
|
||||
this.vnc_access = int.vnc_access;
|
||||
this.iso_file = int.iso_file;
|
||||
}
|
||||
|
||||
static NewEmpty(): VMInfo {
|
||||
|
Reference in New Issue
Block a user