forked from Proxmox/ProxmoxVE
Warn when host CA inheritance is disabled
Changes the log level from info to warning when host CA inheritance is skipped by configuration, and includes the number of host certificates detected. This makes intentional skips more visible while still showing useful context.
This commit is contained in:
+1
-1
@@ -4024,7 +4024,7 @@ _apply_host_ca_certs_in_container() {
|
||||
|
||||
case "${inherit_host_ca,,}" in
|
||||
no | false | 0 | off)
|
||||
msg_info "Skipping host CA inheritance by configuration"
|
||||
msg_warn "Skipping host CA inheritance by configuration (${#host_certs[@]} host certificate(s) available)"
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user