From cd7d3dd2cb0d7cb51296bedf48f071a0146d7199 Mon Sep 17 00:00:00 2001 From: Chris Peterson Date: Fri, 15 Sep 2023 07:30:18 -0700 Subject: [PATCH] add Unattended-Upgrade::MinimalSteps "faslse" to uu_apt conf Co-authored-by: Dan Bungert --- subiquity/server/controllers/install.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/subiquity/server/controllers/install.py b/subiquity/server/controllers/install.py index e4be3b1e..4240eda2 100644 --- a/subiquity/server/controllers/install.py +++ b/subiquity/server/controllers/install.py @@ -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"""\