cc|rootfs: Define SEALED_SECRET for cc-rootfs-initrd-tarball

This is to define `SEALED_SECRET` as yes for a make target `cc-rootfs-initrd-tarball`,
which makes a service `confidential-data-hub` available with an initrd-based VM creation.

Fixes: #8210

Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
This commit is contained in:
Hyounggyu Choi
2023-10-11 20:57:43 +02:00
parent 64392c9a87
commit 981f0a1f0f

View File

@@ -481,6 +481,7 @@ install_cached_kernel_tarball_component() {
install_cc_initrd() {
export AA_KBC="${AA_KBC:-offline_fs_kbc}"
export SEALED_SECRET=yes
info "Create CC initrd configured with AA_KBC=${AA_KBC}"
install_initrd
}