mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-07 06:36:09 +08:00
feat: add efi persistent state
Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com>
This commit is contained in:
@@ -144,6 +144,10 @@ export default {
|
||||
return !!spec?.template?.spec?.domain?.devices?.tpm?.persistent;
|
||||
},
|
||||
|
||||
isEFIPersistentStateEnabled(spec) {
|
||||
return !!spec?.template?.spec?.domain?.firmware?.bootloader?.efi?.persistent;
|
||||
},
|
||||
|
||||
isSecureBoot(spec) {
|
||||
return !!spec?.template?.spec?.domain?.firmware?.bootloader?.efi?.secureBoot;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user