This didn't work. The resulting install had the local repository line in the sources.list, but, it was commented out per the comments in the example preseed.cfg which indicate repos without keys will be commented out.On Mon, Apr 24, 2017 at 6:38 PM, Colin Watson <email@example.com> wrote:On Mon, Apr 24, 2017 at 06:03:43PM -0600, Leroy Pubel wrote:
> I can allow all repositories to be unauthenticated during installation with
> this preseed line:
> "d-i debian-installer/allow_unauthe
nticated boolean true"> <http://snuffleupagus.3d-p.loc
> I add my local repo like this:
> "d-i apt-setup/local0/repository string http://
al/3dp_local>local-ip stable testing"
> Is there a way to only allow one particular repository to be
Reasonably modern versions of apt have sources.list syntax for this.
Translating to preseeding syntax, that'd be something like this:
d-i apt-setup/local0/repository string [trusted=yes] http://...
(Fill in whatever you'd normally have after "http" - the change is just
to insert "[trusted=yes]" before it.)
Colin Watson [firstname.lastname@example.org]