diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:31:14 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:31:14 +0000 |
commit | 92fee7a73787ff2af3159dc0e7c18e5b15968e9f (patch) | |
tree | 374e1c8387153e4bd29e8bc53481f6284e562880 /module-setup-cvm.sh | |
parent | d8a5aa1e74f0cf82eac0335d7272d41cf18eb23a (diff) |
automatic import of WALinuxAgentopeneuler24.03_LTS
Diffstat (limited to 'module-setup-cvm.sh')
-rw-r--r-- | module-setup-cvm.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/module-setup-cvm.sh b/module-setup-cvm.sh new file mode 100644 index 0000000..aa3d908 --- /dev/null +++ b/module-setup-cvm.sh @@ -0,0 +1,18 @@ +#!/usr/bin/bash +# SPDX-License-Identifier: GPL-2.0-or-later + +check() { + return 0 +} + +depends() { + echo tpm2-tss + return 0 +} + +install() { + inst_multiple -o \ + cryptsetup cut mktemp base64 uname hexdump \ + tpm2_flushcontext tpm2_import tpm2_load tpm2_unseal tpm2_create tpm2_createprimary \ + /usr/sbin/tpm2-luks-import.sh /lib/udev/rules.d/90-tpm2-import.rules +} |