Skip to content

Commit

Permalink
add Unattended-Upgrade::MinimalSteps "faslse" to uu_apt conf
Browse files Browse the repository at this point in the history
Co-authored-by: Dan Bungert <danielbungert@gmail.com>
  • Loading branch information
Chris-Peterson444 and dbungert committed Sep 15, 2023
1 parent 3540ad0 commit cd7d3dd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions subiquity/server/controllers/install.py
Expand Up @@ -811,6 +811,14 @@ async def stop_unattended_upgrades(self):
# 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"""\
Expand Down

0 comments on commit cd7d3dd

Please sign in to comment.