20.04 – How to autoinstall Ubuntu with no install recommends/suggestion apt option


Ubuntu autoinstall (I’m using 20.04 but i this it should apply to all recent version), have a source ubuntu-server-minimal, which still contain a lot of package, so i’m trying to configure apt, to either use the --no-install-recommends or add a configuration in /etc/apt/apt.conf.d/ with

APT::Install-Recommends “false”;

The Issue that I’m facing is that I don’t see any way to do this within the autoinstall doc or the curtin doc

I tried a lot of hack in early command but nothing work.

Is there any way to achieve this, or the best solution is to uninstall the packages upon autoinstall?

To be a little more clear, my question here is how can I interact with curtin(or maybe subiquity) in order to configure apt before the autoinstall of the base system.



Source link

Leave a Comment