mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-21 09:25:19 +00:00
osbuilder: Add /etc/tdx-attest.conf when using eaa_kbc
First of all, EAA KBC is only used with TDX, thus we can safely assume that eaa_kbc means TDX, at least for now. A `/etc/tdx-attest.conf` file, with the data "port=4050" is needed as that's the default configuration for the Quote Generation Service (QGS) which is present on the guest side. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
6f16071359
commit
68956ad127
@ -47,6 +47,8 @@ echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu focal m
|
||||
echo 'deb [arch=amd64] http://mirrors.openanolis.cn/inclavare-containers/ubuntu${VERSION_ID} focal main' | tee /etc/apt/sources.list.d/inclavare-containers.list
|
||||
apt-get update
|
||||
apt-get install -y rats-tls-tdx
|
||||
|
||||
echo 'port=4050' | tee /etc/tdx-attest.conf
|
||||
EOF
|
||||
else
|
||||
echo "rats-tls-tdx is only provided for Ubuntu 20.04, there's yet no packages for Ubuntu ${VERSION_ID}"
|
||||
|
Loading…
Reference in New Issue
Block a user