I think the title describes the gist of it so to elaborate, if I have a user-data file with the following, autoinstall will fail at the apt-config stage (before reaching the autoinstall yes/no question):
#cloud-config
#https://canonical-subiquity.readthedocs-hosted.com/en/latest/reference/autoinstall-reference.html
autoinstall:
apt:
sources:
ros:
source: deb [signed-by=$KEY_FILE] https://<artifactory-url>/ros/ $RELEASE main
key: |
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
[snip]
-----END PGP PUBLIC KEY BLOCK-----
gazebo:
source: deb [signed-by=$KEY_FILE] https://<artifactory-url>/gazebo/ $RELEASE main
key: |
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
[snip]
-----END PGP PUBLIC KEY BLOCK-----
As soon as I remove the [signed-by=$KEY_FILE] block from each source autoinstall will complete! Though apt update sensibly tells me I should have a signed-by section in my sources and not have it globally trusted in /etc/apt/trusted.gpg.d.
I haven't been able to find descriptions of similar issues anywhere, could anybody recommend some next steps to try or what I might be missing? " and ' have been tried around source, as has adding/removing the trailing / out of desperation!
aptsection follows the format detailed in the curtin documentation. Comparing your snippet to the Configuration section shows a missinglocalrepository:line – eyoung100 Jan 13 '25 at 20:58localrepositoryin any of the docs islocalrepokeyin the curtin docs which is a standin where I am usingrosandgazeboin the above example such thatros.sourcesandgazebo.sourcesare generated. Where are you findinglocalrepository? – Grizzly Jan 14 '25 at 11:46