swtpm_setup: Not overwriting existing state file. / Mail unterdrücken?

HalloWelt

Member
May 21, 2023
36
1
13
Hallo,

ich starte ein paar VMs über einen Cronjob, das ist eine Windows11-VM:
0 6 * * * /usr/sbin/qm start 201 #vVRS-SRV1
0 0 * * * /usr/sbin/qm shutdown 201 #vVRS-SRV1


Das hat zur Folge, dass ich täglich folgende Mail bekomme:
Betreff: Cron <root@hv1> /usr/sbin/qm start 201 #vVRS-SRV1
Mail: swtpm_setup: Not overwriting existing state file.

Im PVE-Log steht:
swtpm_setup: Not overwriting existing state file.
TASK OK


Es läuft alles! :D

Allerdings nervt der tägliche Mail-Spam.
Kann man diese Meldung irgendwie unterdrücken?

Danke :)
 
Eventuell auch einfach nur speziell diese Nachricht ignorieren
Bash:
0 6 * * * /usr/sbin/qm start 201 | grep -v "Not overwriting existing state file"
 
  • Like
Reactions: HalloWelt