diff --git a/src/app/components/preferences/qemu/qemu-vm-template-details/qemu-vm-template-details.component.html b/src/app/components/preferences/qemu/qemu-vm-template-details/qemu-vm-template-details.component.html
index 0be98dbd..f5a7b653 100644
--- a/src/app/components/preferences/qemu/qemu-vm-template-details/qemu-vm-template-details.component.html
+++ b/src/app/components/preferences/qemu/qemu-vm-template-details/qemu-vm-template-details.component.html
@@ -191,8 +191,10 @@
- Use the legacy networking mode
+ >
+
Use the legacy networking mode
+
Replicate network connection state
+
@@ -271,6 +273,8 @@
Use as a linked base VM
+
Enable the Trusted Platform Module (TPM)
+
Enable the UEFI boot mode
diff --git a/src/app/models/templates/qemu-template.ts b/src/app/models/templates/qemu-template.ts
index 1d559bea..96b5d731 100644
--- a/src/app/models/templates/qemu-template.ts
+++ b/src/app/models/templates/qemu-template.ts
@@ -43,4 +43,7 @@ export class QemuTemplate {
template_id: string;
template_type: string;
usage: string;
+ replicate_network_connection_state: boolean;
+ tpm: boolean;
+ uefi: boolean;
}
diff --git a/src/app/services/qemu.service.spec.ts b/src/app/services/qemu.service.spec.ts
index 5cbd0b60..026cf98d 100644
--- a/src/app/services/qemu.service.spec.ts
+++ b/src/app/services/qemu.service.spec.ts
@@ -78,6 +78,9 @@ describe('QemuService', () => {
template_id: '1',
template_type: 'qemu',
usage: '',
+ replicate_network_connection_state: true,
+ tpm: false,
+ uefi: false,
};
service.saveTemplate(server, template).subscribe();
@@ -131,6 +134,9 @@ describe('QemuService', () => {
template_id: '',
template_type: 'qemu',
usage: '',
+ replicate_network_connection_state: true,
+ tpm: false,
+ uefi: false,
};
service.addTemplate(server, template).subscribe();
diff --git a/src/app/services/template-mocks.service.ts b/src/app/services/template-mocks.service.ts
index c71f7a3c..90a4b4f6 100644
--- a/src/app/services/template-mocks.service.ts
+++ b/src/app/services/template-mocks.service.ts
@@ -75,6 +75,9 @@ export class TemplateMocksService {
template_id: '',
template_type: 'qemu',
usage: '',
+ replicate_network_connection_state: true,
+ tpm: false,
+ uefi: false,
};
return of(template);