fix(ubuntu): Configure arm64 to use archive.ubuntu.com#6826
fix(ubuntu): Configure arm64 to use archive.ubuntu.com#6826blackboxsw merged 1 commit intocanonical:mainfrom
Conversation
Fixes canonicalGH-6825 LP: #2147101
blackboxsw
left a comment
There was a problem hiding this comment.
Thanks @waveform80 for the submittal and @utkarsh2102 context.
The changeset looks good. Note that this fix will only configure new instance launches with the appropriate archive.ubuntu.com mirror.
In the absence of an additional debian postinst change, cloud-init will NOT update the config in /etc/apt/sources.list.d/ubuntu.sources across package upgrade or system reboot because cloud-init only writes this out on first boot.
QUESTION:
Do we want this change to take place across cloud-init package upgrade as well?
If so we'll need to also provide a patch to ubuntu/devel: cloud-init-base.postinst to sed the mirror URI value in /etc/apt/sources.list.d/ubuntu.sources.
|
Probably not -- for new installs, the image build (either livecd-rootfs or ubuntu-image) handles configuring ubuntu.sources. For release upgraders, u-r-u should gain a quirk to handle migrating setups, but I don't think we want to do anything to regular upgrades. However, @utkarsh2102 feel free to contradict me! |
|
I'll merge this and we can resolve any discussion about need to migrate across pkg upgrade path afterwards.
|
Note: I have not added unit tests, as the test suite still passes (on my local machine). Also, no documentation changes appear to be necessary (this is purely an infrastructure configuration change).
tests/unittests/cloudinit/example.pyshould be tested bytests/unittests/test_example.pytox -e py3tox -e doc.Proposed Commit Message
Merge type