This commit is contained in:
sharky committed 2026-10-04 19:52:32 +02:00
1 parent 4ba001a15b
commit 01edc9dd4e
1 file changed
+6 -2
+6 -2
View File
@@ -34,6 +34,7 @@ ERRORS=0
ERROR_DETAILS=() ERROR_DETAILS=()
FULL_UPGRADE_HINTS=() FULL_UPGRADE_HINTS=()
HOST_OK="not-run" HOST_OK="not-run"
HOST_UPDATED="no"
HOST_REBOOT_REQUIRED="no" HOST_REBOOT_REQUIRED="no"
HOST_REBOOT_SCHEDULED="no" HOST_REBOOT_SCHEDULED="no"
MAIL_STATUS_DETAIL="Keine automatischen Neustarts erforderlich." MAIL_STATUS_DETAIL="Keine automatischen Neustarts erforderlich."
@@ -220,7 +221,8 @@ Host: $(hostname)
Zeit: $(date '+%d.%m.%Y %H:%M:%S') Zeit: $(date '+%d.%m.%Y %H:%M:%S')
Host: Host:
Update: $HOST_OK Prüfung/Update erfolgreich: $HOST_OK
Pakete aktualisiert: $HOST_UPDATED
Reboot erforderlich: $HOST_REBOOT_REQUIRED Reboot erforderlich: $HOST_REBOOT_REQUIRED
Reboot geplant: $HOST_REBOOT_SCHEDULED Reboot geplant: $HOST_REBOOT_SCHEDULED
@@ -510,6 +512,7 @@ update_host() {
full-upgrade full-upgrade
then then
HOST_OK="yes" HOST_OK="yes"
HOST_UPDATED="yes"
log "Proxmox-Host erfolgreich aktualisiert." log "Proxmox-Host erfolgreich aktualisiert."
else else
HOST_OK="no" HOST_OK="no"
@@ -1273,7 +1276,8 @@ fi
log "- $error_detail" log "- $error_detail"
done done
fi fi
log "Host Update: $HOST_OK" log "Host Lauf erfolgreich: $HOST_OK"
log "Host aktualisiert: $HOST_UPDATED"
log "Host Reboot nötig: $HOST_REBOOT_REQUIRED" log "Host Reboot nötig: $HOST_REBOOT_REQUIRED"
log "============================================================" log "============================================================"