Merge ~oddbloke/cloud-init/+git/cloud-init:ubuntu/devel into cloud-init:ubuntu/devel

Proposed by Dan Watkins
Status: Merged
Merged at revision: c45d5f2cc27236a2038ee5f6bd28e90bea0f1f26
Proposed branch: ~oddbloke/cloud-init/+git/cloud-init:ubuntu/devel
Merge into: cloud-init:ubuntu/devel
Diff against target: 38 lines (+6/-14)
2 files modified
debian/changelog (+6/-0)
debian/cloud-init.postinst (+0/-14)
Reviewer Review Type Date Requested Status
Server Team CI bot continuous-integration Needs Fixing
Ryan Harper Approve
Review via email: mp+364162@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Ryan Harper (raharper) wrote :

I think the post-inst should attempt to remove the existing file cloud-init wrote on upgrade. Thoughts?

Revision history for this message
Ryan Harper (raharper) wrote :

After some discussion, it's best to just not emit the file; cleaning up might affect existing systems which may still require this specific setting.

review: Approve
Revision history for this message
Server Team CI bot (server-team-bot) wrote :

FAILED: Continuous integration, rev:c45d5f2cc27236a2038ee5f6bd28e90bea0f1f26
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https://code.launchpad.net/~daniel-thewatkins/cloud-init/+git/cloud-init/+merge/364162/+edit-commit-message

https://jenkins.ubuntu.com/server/job/cloud-init-ci/625/
Executed test runs:
    SUCCESS: Checkout
    SUCCESS: Unit & Style Tests
    SUCCESS: Ubuntu LTS: Build
    SUCCESS: Ubuntu LTS: Integration
    IN_PROGRESS: Declarative: Post Actions

Click here to trigger a rebuild:
https://jenkins.ubuntu.com/server/job/cloud-init-ci/625/rebuild

review: Needs Fixing (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index 61f09d7..c17e38b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
1cloud-init (18.5-44-g7c07af28-0ubuntu2) disco; urgency=medium
2
3 * d/postinst: remove now-incorrect apt pipelining configuration
4
5 -- Daniel Watkins <oddbloke@ubuntu.com> Fri, 08 Mar 2019 09:56:42 -0500
6
1cloud-init (18.5-44-g7c07af28-0ubuntu1) disco; urgency=medium7cloud-init (18.5-44-g7c07af28-0ubuntu1) disco; urgency=medium
28
3 * New upstream snapshot.9 * New upstream snapshot.
diff --git a/debian/cloud-init.postinst b/debian/cloud-init.postinst
index f88d1c5..93d58e2 100644
--- a/debian/cloud-init.postinst
+++ b/debian/cloud-init.postinst
@@ -297,20 +297,6 @@ datasource_list: [ $values ]
297EOF297EOF
298 fi298 fi
299299
300 # we want to affect apt_pipelining on install, not wait for
301 # cloud-init to run it on next boot.
302 pipeline_f="/etc/apt/apt.conf.d/90cloud-init-pipelining"
303 if [ -f /var/lib/cloud/instance/obj.pkl ]; then
304 cloud-init single --name apt-pipelining --frequency once >/dev/null 2>&1 ||
305 echo "Warning: failed to setup apt-pipelining" 1>&2
306 elif [ ! -f "$pipeline_f" ]; then
307 # there was no cloud available, so populate it ourselves.
308 cat > "$pipeline_f" <<EOF
309//Written by cloud-init per 'apt_pipelining'
310Acquire::http::Pipeline-Depth "0";
311EOF
312 fi
313
314 # if there are maas settings pre-seeded apply them300 # if there are maas settings pre-seeded apply them
315 handle_preseed_maas301 handle_preseed_maas
316302

Subscribers

People subscribed via source and target branches