V19
This commit is contained in:
1 parent
4ba001a15b
commit
01edc9dd4e
1 file changed
+6
-2
+6
-2
@@ -34,6 +34,7 @@ ERRORS=0
|
||||
ERROR_DETAILS=()
|
||||
FULL_UPGRADE_HINTS=()
|
||||
HOST_OK="not-run"
|
||||
HOST_UPDATED="no"
|
||||
HOST_REBOOT_REQUIRED="no"
|
||||
HOST_REBOOT_SCHEDULED="no"
|
||||
MAIL_STATUS_DETAIL="Keine automatischen Neustarts erforderlich."
|
||||
@@ -220,7 +221,8 @@ Host: $(hostname)
|
||||
Zeit: $(date '+%d.%m.%Y %H:%M:%S')
|
||||
|
||||
Host:
|
||||
Update: $HOST_OK
|
||||
Prüfung/Update erfolgreich: $HOST_OK
|
||||
Pakete aktualisiert: $HOST_UPDATED
|
||||
Reboot erforderlich: $HOST_REBOOT_REQUIRED
|
||||
Reboot geplant: $HOST_REBOOT_SCHEDULED
|
||||
|
||||
@@ -510,6 +512,7 @@ update_host() {
|
||||
full-upgrade
|
||||
then
|
||||
HOST_OK="yes"
|
||||
HOST_UPDATED="yes"
|
||||
log "Proxmox-Host erfolgreich aktualisiert."
|
||||
else
|
||||
HOST_OK="no"
|
||||
@@ -1273,7 +1276,8 @@ fi
|
||||
log "- $error_detail"
|
||||
done
|
||||
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 "============================================================"
|
||||
|
||||
|
||||
Reference in new issue
Block a user