Ok,
so I found a workaround for this issue, directly in the preseed.cfg file. I don't like it, but it works. I hope it will help someone but also I hope it will be taken forward by @philh or other d-i/apt-setup folks...
in preseed.cfg:
<snip>
d-i preseed/early_command string \
sed -i '3i if [ db_get apt-setup/use_mirror=true && db_get apt-setup/no_mirror=false && db_get netcfg/dhcp_options != "db_get netcfg/dhcp_options"]; \
exit 0; fi' /usr/lib/apt-setup/generators/40cdrom || true
<snip>
Cheers,
Jerzy
<div dir="ltr">Ok,<div>so I found a workaround for this issue, directly in the preseed.cfg file. I don't like it, but it works. I hope it will help someone but also I hope it will be taken forward by <span style="background-color:rgb(250,250,250);
color:rgb(48,48,48);font-family:-apple-system,"system-ui","Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol&
quot;,"Noto Color Emoji";font-size:14px;text-align:center">@philh or other d-i/apt-setup folks...</span></div><div><span style="background-color:rgb(250,250,250);color:rgb(48,48,48);font-family:-apple-system,"system-ui","Segoe UI&
quot;,Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:14px;text-align:center"><br></span></div>
<div><span style="background-color:rgb(250,250,250);color:rgb(48,48,48);font-family:-apple-system,"system-ui","Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji",
"Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:14px;text-align:center">in preseed.cfg:</span></div><div><span style="background-color:rgb(250,250,250);color:rgb(48,48,48);font-family:-apple-system,"
system-ui","Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:14px;text-
align:center"><br></span></div><div><span style="background-color:rgb(250,250,250);color:rgb(48,48,48);font-family:-apple-system,"system-ui","Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-
serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:14px;text-align:center"><snip></span></div><div>d-i preseed/early_command string \<br> sed -i '3i if [
db_get apt-setup/use_mirror=true && db_get apt-setup/no_mirror=false && db_get netcfg/dhcp_options != "db_get netcfg/dhcp_options"]; \<br> exit 0; fi' /usr/lib/apt-setup/generators/40cdrom || true<br></div><div><
</div><div><snip></div><div><br></div><div>Cheers,</div><div>Jerzy</div><div><br></div></div>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)