remove reboot mails, noone does care about these anyway
This commit is contained in:
parent
3a8e3ce01b
commit
3826ccf4ec
4 changed files with 0 additions and 14 deletions
|
@ -46,10 +46,6 @@ fi
|
|||
|
||||
if [[ -f /var/run/reboot-required ]] && [[ "$auto_reboot_enabled" == "True" ]]
|
||||
then
|
||||
if [[ -n "$reboot_mail_to" ]]
|
||||
then
|
||||
date | mail -s "SYSREBOOTNOW $nodename" "$reboot_mail_to"
|
||||
fi
|
||||
systemctl reboot
|
||||
fi
|
||||
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
nodename="${node.name}"
|
||||
reboot_mail_to="${node.metadata.get('apt/unattended-upgrades/reboot_mail_to', '')}"
|
||||
auto_reboot_enabled="${node.metadata.get('apt/unattended-upgrades/reboot_enabled', True)}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue