unattended-upgrades: use an @ prefix for template variables
This commit is contained in:
parent
d24ca3314f
commit
0389b11261
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ APT::Periodic::Update-Package-Lists "1";
|
|||
APT::Periodic::Download-Upgradeable-Packages "1";
|
||||
APT::Periodic::Unattended-Upgrade "1";
|
||||
|
||||
Unattended-Upgrade::Mail "<%= mail_recipient -%>";
|
||||
<% if mailonlyonerror -%>
|
||||
Unattended-Upgrade::Mail "<%= @mail_recipient -%>";
|
||||
<% if @mailonlyonerror -%>
|
||||
Unattended-Upgrade::MailOnlyOnError "true";
|
||||
<% end -%>
|
||||
|
|
Loading…
Reference in a new issue