AB#1915 Local PCR calculation (#243)

* Add QEMU cloud-logging

* Add QEMU metadata endpoints to collect logs during cluster boot

* Send PCRs to QEMU metadata if boot fails on Azure or GCP

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2022-07-04 12:59:43 +02:00 committed by GitHub
parent 70efb92adc
commit 4be29b04dc
9 changed files with 348 additions and 21 deletions

View file

@ -1,6 +1,12 @@
variable "constellation_coreos_image_qcow2" {
variable "constellation_coreos_image" {
type = string
description = "constellation OS qcow file path"
description = "constellation OS file path"
}
variable "image_format" {
type = string
default = "qcow2"
description = "image format"
}
variable "control_plane_count" {
@ -45,3 +51,8 @@ variable "machine" {
default = "q35"
description = "machine type. use 'q35' for secure boot and 'pc' for non secure boot. See 'qemu-system-x86_64 -machine help'"
}
variable "metadata_api_log_dir" {
type = string
description = "directory to store metadata log files. This must be an absolute path"
}