Commit cb786dc8 authored by Bastian Blank's avatar Bastian Blank

Don't override apt pipelining

parent 004c9811
cloud-init (18.3-4) UNRELEASED; urgency=medium
* Remove debconf setup of data source.
* Don't override apt pipelining.
-- Bastian Blank <bastian.blank@credativ.de> Wed, 06 Feb 2019 10:10:21 +0100
......
......@@ -115,20 +115,6 @@ handle_preseed_local_cloud_config() {
}
if [ "$1" = "configure" ]; then
# we want to affect apt_pipelining on install, not wait for
# cloud-init to run it on next boot.
pipeline_f="/etc/apt/apt.conf.d/90cloud-init-pipelining"
if [ -f /var/lib/cloud/instance/obj.pkl ]; then
cloud-init single --name apt-pipelining --frequency once >/dev/null 2>&1 ||
echo "Warning: failed to setup apt-pipelining" 1>&2
elif [ ! -f "$pipeline_f" ]; then
# there was no cloud available, so populate it ourselves.
cat > "$pipeline_f" <<EOF
//Written by cloud-init per 'apt_pipelining'
Acquire::http::Pipeline-Depth "0";
EOF
fi
# if there are maas settings pre-seeded apply them
handle_preseed_maas
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment