I don't see what subiquity can do differently here, we're just making snapd api calls, it seems to me (and I don't just want to be seen as passing the buck) that snapd is the right place to solve this (or even the store: it could detect the request is coming from an internal IP and not return CDN links?).
That said, being able to access api.snapcraft.com but not fastly is a situation mostly (?) peculiar to our infrastructure, so maybe we should add a way to specify via answers that we should set SNAPPY_STORE_NO_CDN=1 for snapd.
Ugh.
I don't see what subiquity can do differently here, we're just making snapd api calls, it seems to me (and I don't just want to be seen as passing the buck) that snapd is the right place to solve this (or even the store: it could detect the request is coming from an internal IP and not return CDN links?).
That said, being able to access api.snapcraft.com but not fastly is a situation mostly (?) peculiar to our infrastructure, so maybe we should add a way to specify via answers that we should set SNAPPY_ STORE_NO_ CDN=1 for snapd.