From 8f21dc7d0673677a06243704fbcc716bcc3129c1 Mon Sep 17 00:00:00 2001 From: Ugo Palatucci Date: Wed, 8 Jan 2025 15:58:51 +0100 Subject: [PATCH] CNV-50449: fix secure boot with soec.template.spec.domain.features not present --- .../details/tabs/configuration/details/utils/utils.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/virtualmachines/details/tabs/configuration/details/utils/utils.ts b/src/views/virtualmachines/details/tabs/configuration/details/utils/utils.ts index 52832262c..298a35031 100644 --- a/src/views/virtualmachines/details/tabs/configuration/details/utils/utils.ts +++ b/src/views/virtualmachines/details/tabs/configuration/details/utils/utils.ts @@ -54,6 +54,11 @@ export const updateBootLoader = (updatedVM: V1VirtualMachine, vm: V1VirtualMachi }, ...(isEfiSecure ? [ + { + op: 'add', + path: `/spec/template/spec/domain/features`, + value: {}, + }, { op: hasSMMFeatureDefined ? 'replace' : 'add', path: `/spec/template/spec/domain/features/smm`,