cloud-init team mailing list archive
Mailing list archive
Re: Apt configure module with multiple architectures
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.
On Sat, Jan 22, 2022 at 11:59 PM Leigh McCulloch <leigh@xxxxxxxxxxxx> wrote:
> 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
> 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?
> 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