maroskukan / packer-cookbook

Examples, Tips and notes
16 stars 6 forks source link

Ubuntu2204 - Update default apt mirrors #6

Closed maroskukan closed 2 years ago

maroskukan commented 2 years ago

Investigate how apt mirrors are set during the installation and possible change them to global instead of local or regional ones. https://askubuntu.com/questions/1326043/how-to-add-apt-repository-with-ubuntu-autoinstall

maroskukan commented 2 years ago

The following settings in user-data could affect the mirror selection

  apt:
      geoip: false
      primary:
          - arches: [default]
            uri: https://mirrors.edge.kernel.org/ubuntu/
      security:
          - arches: [default]
            uri: https://mirrors.edge.kernel.org/ubuntu/
maroskukan commented 2 years ago

Implemented in #11