diff --git a/nodepool/elements/nodepool-base/root.d/60-apt-phased-updates b/nodepool/elements/nodepool-base/root.d/60-apt-phased-updates index ff28e2acec..d532cbac3f 100755 --- a/nodepool/elements/nodepool-base/root.d/60-apt-phased-updates +++ b/nodepool/elements/nodepool-base/root.d/60-apt-phased-updates @@ -23,7 +23,7 @@ set -o pipefail # NOTE(frickler): Our images builds always install the newest updates, # so we need this in order to avoid conflicts -if [ ${DIB_RELEASE} = jammy ]; +if [ ${DIB_RELEASE} = jammy ]; then if [ -d "$TARGET_ROOT/etc/apt/apt.conf.d" ]; then echo "APT::Get::Always-Include-Phased-Updates \"true\";" | sudo tee $TARGET_ROOT/etc/apt/apt.conf.d/95phased-updates fi