serhepopovych / simple-cdd-meta

Debian and it's derivatives Simple-CDD preseed configuration with profiles
MIT License
6 stars 3 forks source link

Use apt-setup to configure mirrors at install time #11

Closed serhepopovych closed 4 years ago

serhepopovych commented 4 years ago

Rather than overwriting /etc/apt/sources.list in base.postinst script with nearly static, predefined values that does not reflect installed distribution set of repos (contrib, non-free) and installation environment, update apt-setup generators to avoid non-preseedable error messages when mirrors isn't available.

This could happen for network installs in isolated environment, where access to publicly hosted security and updates mirrors isn't available.

While there, fix non-preseedable error message display when target system has no network interface.