I too used the workaround:
d-i preseed/late_command string \
in-target wget -q -O /etc/apt/trusted.gpg.d/repo_key.asc http://our.repo/repo_key.asc ; \
We mirror the repositories we offer to our clients, so they can keep doing their stuff in case the intarwebz is inaccessible. None of those repo keys can be added the normal preseed way:
d-i apt-setup/local0/key string http://our.repo/repo_key.asc
I too used the workaround: late_command string \ trusted. gpg.d/repo_ key.asc http:// our.repo/ repo_key. asc ; \
d-i preseed/
in-target wget -q -O /etc/apt/
We mirror the repositories we offer to our clients, so they can keep doing their stuff in case the intarwebz is inaccessible. None of those repo keys can be added the normal preseed way: local0/ key string http:// our.repo/ repo_key. asc
d-i apt-setup/
I can add the repo this way, just not the key.