Merge pull request #1797 from Chris-Peterson444/faster-unattended-upgrades

Make unattended upgrades run faster by disabling minimal steps
This commit is contained in:
Dan Bungert 2023-09-15 13:30:12 -06:00 committed by GitHub
commit a4fe424df6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -811,6 +811,14 @@ uu_apt_conf = b"""\
# a metered connection.
Unattended-Upgrade::OnlyOnACPower "false";
Unattended-Upgrade::Skip-Updates-On-Metered-Connections "true";
# Set MinimalSteps to false to speedup install times. "true", the default, will
# atmoize updates to enable interrupts between downloads, but this causes the
# install to slow down considerably. This is a major bottleneck of the install.
# Some testing shows a 3-4x speedup on the unattended-upgrades section of the
# install when this is set to false. However, this will make interrupting
# this section of the install process difficult.
Unattended-Upgrade::MinimalSteps "false";
"""
uu_apt_conf_update_security = b"""\