Add TPM support for Qemu VMs

This commit is contained in:
grossmj 2023-01-04 18:54:25 +08:00
parent e9e3730618
commit fa8fd3c4a2
2 changed files with 5 additions and 1 deletions

View File

@ -54,6 +54,7 @@ export class Properties {
extra_hosts: string;
replicate_network_connection_state: boolean;
memory: number;
tpm: boolean;
}
export class Node {

View File

@ -32,7 +32,7 @@
<mat-form-field class="form-field">
<input matInput type="number" [(ngModel)]="node.properties.cpus" placeholder="vCPUs" />
</mat-form-field>
<mat-form-field class="form-field">
<mat-select placeholder="Boot priority" [(ngModel)]="node.properties.boot_priority">
<mat-option *ngFor="let priority of bootPriorities" [value]="priority[1]">
@ -237,6 +237,9 @@
<mat-form-field class="form-field">
<input matInput type="text" [(ngModel)]="node.properties.options" placeholder="Options" />
</mat-form-field>
<br /><mat-checkbox [(ngModel)]="node.properties.tpm">
Enable the Trusted Platform Module (TPM)
</mat-checkbox>
</mat-card-content>
</mat-card>
</mat-tab>