How to do a minimal install

Asked by Melck

Hello,

I tried the new installer and tried doing a minimal install of Ubuntu to create a basic vm template. When I was using the old legacy installer I configured the preconfiguration with `tasksel tasksel / first multiselect ubuntu-minimal`.

How can I specify (or see) the list of default packages for the installation?

Do you plan to add an option in the future to allow this or these possibilities will disappear to standardize the installation?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu subiquity Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

The server install has a meta-package "ubuntu-server" which pulls in the below:
https://packages.ubuntu.com/focal/ubuntu-server

You can use preseeding to set install options and packages to install at install time. Alternatively you can use systems like chef/puppet to ensure systems have a standardised configuration.

Is this what you mean?

Revision history for this message
Bernard Stafford (bernard010) said :
#2

https://packages.ubuntu.com/focal/ubuntu-desktop-minimal - The Ubuntu desktop minimal system. This is a minimal desktop environment.

https://packages.ubuntu.com/focal/ubuntu-minimal - Minimal core of Ubuntu 20.04 This is the standard minimal install package list.

Revision history for this message
Melck (m3lchior) said :
#3

I am not specific enough. I am in a packer + autoinstaller context (see https://ubuntu.com/server/docs/install/autoinstall-quickstart).

Currently I have no way to avoid installing ubuntu-server and ubuntu-standard.

I'm using the late_commands to uninstall and purge them, like this:

late-commands:
- curtin in-target --target=/target -- apt-mark auto ubuntu-standard ubuntu-server
- curtin in-target --target=/target -- apt-get autoremove --purge -y

There is another way to do it ? Do you plan to let user choose ?

Can you help with this problem?

Provide an answer of your own, or ask Melck for more information if necessary.

To post a message you must log in.