eBPF-based security platform
testing/vm: warn about a signing key only for an operator VM
eust-w2750c9fba625
diff --git a/testing/vm/run.sh b/testing/vm/run.shindex c92f1c38..dd5a3cc7 100755--- a/testing/vm/run.sh+++ b/testing/vm/run.sh@@ -1323,7 +1323,11 @@ cleanup()fielif [[ -n "$RUN_DIR" && -d "$RUN_DIR" ]]; thenlog "preserved VM state: $RUN_DIR"- log "warning: the guest overlay contains an ephemeral signing key"+ # Only the operator VM sees the signing key; a target's overlay+ # never holds one.+ if [[ "$VM_ROLE" == operator ]]; then+ log "warning: the guest overlay contains an ephemeral signing key"+ fifi}trap cleanup EXIT