Upgrade to debian 11 bullseye
This commit is contained in:
parent
c1a7a55efa
commit
dffc7745fd
@ -1,7 +1,7 @@
|
|||||||
// Unattended-Upgrade::Origins-Pattern controls which packages are
|
// Unattended-Upgrade::Origins-Pattern controls which packages are
|
||||||
// upgraded.
|
// upgraded.
|
||||||
//
|
//
|
||||||
// Lines below have the format format is "keyword=value,...". A
|
// Lines below have the format "keyword=value,...". A
|
||||||
// package will be upgraded only if the values in its metadata match
|
// package will be upgraded only if the values in its metadata match
|
||||||
// all the supplied keywords in a line. (In other words, omitted
|
// all the supplied keywords in a line. (In other words, omitted
|
||||||
// keywords are wild cards.) The keywords originate from the Release
|
// keywords are wild cards.) The keywords originate from the Release
|
||||||
@ -30,6 +30,7 @@ Unattended-Upgrade::Origins-Pattern {
|
|||||||
// "origin=Debian,codename=${distro_codename}-proposed-updates";
|
// "origin=Debian,codename=${distro_codename}-proposed-updates";
|
||||||
"origin=Debian,codename=${distro_codename},label=Debian";
|
"origin=Debian,codename=${distro_codename},label=Debian";
|
||||||
"origin=Debian,codename=${distro_codename},label=Debian-Security";
|
"origin=Debian,codename=${distro_codename},label=Debian-Security";
|
||||||
|
"origin=Debian,codename=${distro_codename}-security,label=Debian-Security";
|
||||||
|
|
||||||
// Archive or Suite based matching:
|
// Archive or Suite based matching:
|
||||||
// Note that this will silently match a different release after
|
// Note that this will silently match a different release after
|
||||||
@ -92,9 +93,11 @@ Unattended-Upgrade::Package-Blacklist {
|
|||||||
// 'mailx' must be installed. E.g. "user@example.com"
|
// 'mailx' must be installed. E.g. "user@example.com"
|
||||||
Unattended-Upgrade::Mail "root";
|
Unattended-Upgrade::Mail "root";
|
||||||
|
|
||||||
// Set this value to "true" to get emails only on errors. Default
|
// Set this value to one of:
|
||||||
// is to always send a mail if Unattended-Upgrade::Mail is set
|
// "always", "only-on-error" or "on-change"
|
||||||
//Unattended-Upgrade::MailOnlyOnError "false";
|
// If this is not set, then any legacy MailOnlyOnError (boolean) value
|
||||||
|
// is used to chose between "only-on-error" and "on-change"
|
||||||
|
//Unattended-Upgrade::MailReport "on-change";
|
||||||
|
|
||||||
// Remove unused automatically installed kernel-related packages
|
// Remove unused automatically installed kernel-related packages
|
||||||
// (kernel images, kernel headers and kernel version locked tools).
|
// (kernel images, kernel headers and kernel version locked tools).
|
||||||
@ -144,3 +147,18 @@ Unattended-Upgrade::Mail "root";
|
|||||||
// Print debugging information both in unattended-upgrades and
|
// Print debugging information both in unattended-upgrades and
|
||||||
// in unattended-upgrade-shutdown
|
// in unattended-upgrade-shutdown
|
||||||
// Unattended-Upgrade::Debug "false";
|
// Unattended-Upgrade::Debug "false";
|
||||||
|
|
||||||
|
// Allow package downgrade if Pin-Priority exceeds 1000
|
||||||
|
// Unattended-Upgrade::Allow-downgrade "false";
|
||||||
|
|
||||||
|
// When APT fails to mark a package to be upgraded or installed try adjusting
|
||||||
|
// candidates of related packages to help APT's resolver in finding a solution
|
||||||
|
// where the package can be upgraded or installed.
|
||||||
|
// This is a workaround until APT's resolver is fixed to always find a
|
||||||
|
// solution if it exists. (See Debian bug #711128.)
|
||||||
|
// The fallback is enabled by default, except on Debian's sid release because
|
||||||
|
// uninstallable packages are frequent there.
|
||||||
|
// Disabling the fallback speeds up unattended-upgrades when there are
|
||||||
|
// uninstallable packages at the expense of rarely keeping back packages which
|
||||||
|
// could be upgraded or installed.
|
||||||
|
// Unattended-Upgrade::Allow-APT-Mark-Fallback "true";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: sshd_config,v 1.100 2016/08/15 12:32:04 naddy Exp $
|
# $OpenBSD: sshd_config,v 1.103 2018/04/09 20:41:22 tj Exp $
|
||||||
|
|
||||||
# This is the sshd server system-wide configuration file. See
|
# This is the sshd server system-wide configuration file. See
|
||||||
# sshd_config(5) for more information.
|
# sshd_config(5) for more information.
|
||||||
@ -10,6 +10,8 @@
|
|||||||
# possible, but leave them commented. Uncommented options override the
|
# possible, but leave them commented. Uncommented options override the
|
||||||
# default value.
|
# default value.
|
||||||
|
|
||||||
|
Include /etc/ssh/sshd_config.d/*.conf
|
||||||
|
|
||||||
Port {{ ssh_port }}
|
Port {{ ssh_port }}
|
||||||
Protocol 2
|
Protocol 2
|
||||||
#AddressFamily any
|
#AddressFamily any
|
||||||
@ -95,8 +97,6 @@ X11Forwarding no
|
|||||||
PrintMotd no
|
PrintMotd no
|
||||||
#PrintLastLog yes
|
#PrintLastLog yes
|
||||||
#TCPKeepAlive yes
|
#TCPKeepAlive yes
|
||||||
#UseLogin no
|
|
||||||
#UsePrivilegeSeparation sandbox
|
|
||||||
#PermitUserEnvironment no
|
#PermitUserEnvironment no
|
||||||
#Compression delayed
|
#Compression delayed
|
||||||
#ClientAliveInterval 0
|
#ClientAliveInterval 0
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
- secrets.yml
|
- secrets.yml
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
- debian_release: buster
|
- debian_release: bullseye
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user