mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-19 15:58:25 +00:00
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:
@@ -481,6 +481,7 @@ install_cached_kernel_tarball_component() {
|
|||||||
|
|
||||||
install_cc_initrd() {
|
install_cc_initrd() {
|
||||||
export AA_KBC="${AA_KBC:-offline_fs_kbc}"
|
export AA_KBC="${AA_KBC:-offline_fs_kbc}"
|
||||||
|
export SEALED_SECRET=yes
|
||||||
info "Create CC initrd configured with AA_KBC=${AA_KBC}"
|
info "Create CC initrd configured with AA_KBC=${AA_KBC}"
|
||||||
install_initrd
|
install_initrd
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user