images.maas.io gets its images from cloud-images.ubuntu.com/daily so this effects all cloud-image users, not just MAAS. I think we should have a larger discussion with foundations as to whether the image should include the apt list cache.
Also instead of removing the current apt cache we could force apt-get update to be run on first boot[1]. We need to be careful not to do this in the ephemeral environment as in some situations the ephemeral environment can be used without using apt at all currently.
images.maas.io gets its images from cloud-images. ubuntu. com/daily so this effects all cloud-image users, not just MAAS. I think we should have a larger discussion with foundations as to whether the image should include the apt list cache.
Also instead of removing the current apt cache we could force apt-get update to be run on first boot[1]. We need to be careful not to do this in the ephemeral environment as in some situations the ephemeral environment can be used without using apt at all currently.
[1] https:/ /cloudinit. readthedocs. io/en/latest/ topics/ examples. html?highlight= apt#update- apt-database- on-first- boot