← Back to team overview

cloud-init team mailing list archive

Re: Apt configure module with multiple architectures


Hi Leigh,

The comments in this example
are probably a good starting point if you haven't seen them already.

It has keywords for specifying trusted keys/source files, as well as
specifying mirrors (primary/security/etc) on a per-arch basis.

I haven't personally used the architecture code, so I can't give further
detail without digging in myself.

Hopefully that helps.

Brett Holman

On Sat, Jan 22, 2022 at 11:59 PM Leigh McCulloch <leigh@xxxxxxxxxxxx> wrote:

> Hi,
> Is there a recommended approach to using the apt configure module to setup
> an instance for multiple-architectures? For example, is there a way to use
> apt configure to setup both amd64 and arm64 source lists with arch
> qualifiers?
> My current approach is to use the write_files module to manually write out
> sources to the sources.list.d directory, however this seems like something
> that the apt configure module would be well suited to supporting if there
> was to specify additional foreign architectures to setup sources for. Is
> there always a way to do this?
> Thanks!
> Leigh
> --
> Mailing list: https://launchpad.net/~cloud-init
> Post to     : cloud-init@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~cloud-init
> More help   : https://help.launchpad.net/ListHelp

Follow ups