A few minutes later:
$ cat /etc/apt/sources.list
## Note, this file is written by cloud-init on first boot of an instance
## modifications made here will not survive a re-bundle.
## if you wish to make changes you can:
## a.) add 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg
## or do the same in user-data
## b.) add sources in /etc/apt/sources.list.d
## c.) make changes to template file /etc/cloud/templates/sources.list.tmpl
@Chad, sorry I never saw this until the recent update.
Yes, it looks as though you are right. Starting a 20.04 Pro instance:
$ cat /etc/apt/ sources. list help.ubuntu. com/community/ UpgradeNotes for how to upgrade to archive. ubuntu. com/ubuntu/ focal main restricted archive. ubuntu. com/ubuntu/ focal main restricted
# See http://
# newer versions of the distribution.
deb http://
# deb-src http://
A few minutes later: sources. list sources_ list: true' to /etc/cloud/ cloud.cfg sources. list.d templates/ sources. list.tmpl
$ cat /etc/apt/
## Note, this file is written by cloud-init on first boot of an instance
## modifications made here will not survive a re-bundle.
## if you wish to make changes you can:
## a.) add 'apt_preserve_
## or do the same in user-data
## b.) add sources in /etc/apt/
## c.) make changes to template file /etc/cloud/
# See http:// help.ubuntu. com/community/ UpgradeNotes for how to upgrade to azure.archive. ubuntu. com/ubuntu/ focal main restricted azure.archive. ubuntu. com/ubuntu/ focal main restricted
# newer versions of the distribution.
deb http://
# deb-src http://