mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-18 16:08:25 +00:00
osbuilder: don't pull in umoci with attestation
Umoci is not longer required if we have the attestation-agent, so don't override the user input Fixes: #5237 Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
parent
fb56efd658
commit
c9af89d094
@ -665,10 +665,6 @@ EOF
|
||||
fi
|
||||
|
||||
if [ -n "${AA_KBC}" ]; then
|
||||
if [ "${UMOCI}" != "yes" ]; then
|
||||
UMOCI="yes"
|
||||
warning "UMOCI wasn't set, but is required for attestation, so overridden"
|
||||
fi
|
||||
if [ "${AA_KBC}" == "offline_sev_kbc" ]; then
|
||||
info "Adding agent config for ${AA_KBC}"
|
||||
AA_KBC_PARAMS="offline_sev_kbc::null" envsubst < "${script_dir}/agent-config.toml.in" | tee "${ROOTFS_DIR}/etc/agent-config.toml"
|
||||
|
Loading…
Reference in New Issue
Block a user