Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Freifunk Ingolstadt
FFIN Gateway - Ansible Rollen
Commits
b8fff59d
Unverified
Commit
b8fff59d
authored
Oct 01, 2020
by
Marius Hellmann
Committed by
GitHub
Oct 01, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #141 from Neanderfunk/hotfix/upstream-unattended-upgrades
Korrektur unattended-upgrades template für ubuntu
parents
84bd4fbc
6a3a611d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
unattended_upgrades/templates/50unattended-upgrades-ubuntu.j2
...tended_upgrades/templates/50unattended-upgrades-ubuntu.j2
+9
-9
No files found.
unattended_upgrades/templates/50unattended-upgrades-ubuntu.j2
View file @
b8fff59d
...
...
@@ -16,13 +16,13 @@ Unattended-Upgrade::Allowed-Origins {
// "${distro_id}:${distro_codename}-updates";
// "${distro_id}:${distro_codename}-proposed";
// "${distro_id}:${distro_codename}-backports";
+
{% if unattended_upgrades.origins_pattern is defined and unattended_upgrades.origins_pattern %}
+
+
// Custom matching:
+
{% for item in unattended_upgrades.origins_pattern %}
+
"{{ item }}";
+
{% endfor %}
+
{% endif %}
{% if unattended_upgrades.origins_pattern is defined and unattended_upgrades.origins_pattern %}
// Custom matching:
{% for item in unattended_upgrades.origins_pattern %}
"{{ item }}";
{% endfor %}
{% endif %}
};
// List of packages to not update (regexp are supported)
...
...
@@ -38,7 +38,7 @@ Unattended-Upgrade::Package-Blacklist {
Unattended-Upgrade::DevRelease "false";
// This option allows you to control if on a unclean dpkg exit
// unattended-upgrades will automatically run
// unattended-upgrades will automatically run
// dpkg --force-confold --configure -a
// The default is true, to ensure updates keep getting installed
//Unattended-Upgrade::AutoFixInterruptedDpkg "false";
...
...
@@ -73,7 +73,7 @@ Unattended-Upgrade::MinimalSteps "true";
//Unattended-Upgrade::Remove-Unused-Dependencies "false";
// Automatically reboot *WITHOUT CONFIRMATION*
// if the file /var/run/reboot-required is found after the upgrade
// if the file /var/run/reboot-required is found after the upgrade
//Unattended-Upgrade::Automatic-Reboot "false";
// If automatic reboot is enabled and needed, reboot at the specific
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment