← Back to team overview

cloud-init team mailing list archive

Apt configure module with multiple architectures

 

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

Follow ups