Fix VM creation / update by adding missing oem_string property
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
644fd6f1bb
commit
dcb0743cbe
@ -83,6 +83,7 @@ interface VMInfoInterface {
|
|||||||
file_disks: VMFileDisk[];
|
file_disks: VMFileDisk[];
|
||||||
networks: VMNetInterface[];
|
networks: VMNetInterface[];
|
||||||
tpm_module: boolean;
|
tpm_module: boolean;
|
||||||
|
oem_strings: string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export class VMInfo implements VMInfoInterface {
|
export class VMInfo implements VMInfoInterface {
|
||||||
@ -101,6 +102,7 @@ export class VMInfo implements VMInfoInterface {
|
|||||||
file_disks: VMFileDisk[];
|
file_disks: VMFileDisk[];
|
||||||
networks: VMNetInterface[];
|
networks: VMNetInterface[];
|
||||||
tpm_module: boolean;
|
tpm_module: boolean;
|
||||||
|
oem_strings: string[];
|
||||||
|
|
||||||
constructor(int: VMInfoInterface) {
|
constructor(int: VMInfoInterface) {
|
||||||
this.name = int.name;
|
this.name = int.name;
|
||||||
@ -118,6 +120,7 @@ export class VMInfo implements VMInfoInterface {
|
|||||||
this.file_disks = int.file_disks;
|
this.file_disks = int.file_disks;
|
||||||
this.networks = int.networks;
|
this.networks = int.networks;
|
||||||
this.tpm_module = int.tpm_module;
|
this.tpm_module = int.tpm_module;
|
||||||
|
this.oem_strings = int.oem_strings;
|
||||||
}
|
}
|
||||||
|
|
||||||
static NewEmpty(): VMInfo {
|
static NewEmpty(): VMInfo {
|
||||||
@ -132,6 +135,7 @@ export class VMInfo implements VMInfoInterface {
|
|||||||
file_disks: [],
|
file_disks: [],
|
||||||
networks: [],
|
networks: [],
|
||||||
tpm_module: true,
|
tpm_module: true,
|
||||||
|
oem_strings: [],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user