J
J
juffinhalli2012-11-04 01:19:47
linux
juffinhalli, 2012-11-04 01:19:47

[SOLVED] Tweaking Ubuntu auto install

Good night, hackers!

I already asked this question and a "manual" solution was found - using bootstrap.
But it is not the most successful and I continued the search.

At one of the stages of the alternate installation of Ubuntu, a package selection dialog is launched.

image

This utility is called tasksel and must be launched with the --new-install
key during installation. This fact was found here (postinst file)

This key means that the installation of the ubuntu-standard metapackage is mandatory and hidden from the user, which puts already not all and not always the necessary packages.

To solve this problem, you need to either change the conditions for starting tasksel somewhere in the installer or change the tasksel-data package in your own repository.

Unfortunately, we have not yet been able to find the launching part of the code in the initrd.gz Ubuntu installer image.

There is no experience of modifying deb packages and re-signing updated repositories either.

Please help with advice

Update: I asked the developers "ubuntu installer" for help and one of them helped me.

It turns out that it is enough to add a line to the preceed file
tasksel tasksel/skip-tasks string standard
and no extra software will be installed.

Thank you very much, Colin Watson!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Q
qxfusion, 2012-11-05
@qxfusion

I always install via snapshots, then you need to SSH into the system and update the packages to the latest ones. (yum, zypper, apt-get of your choice.
I recommend making the initial snapshot with LVM as a base and with a minimum initial volume allocation size.

D
domas, 2012-11-05
@domas

It is necessary to transfer somehow to pass an empty parameter to tasksel tasksel/first multiselect.
It can be done by editing the preseeding file by simply changing the acc. line. For example:
- tasksel tasksel/first multiselect ubuntu-server, standard
+ tasksel tasksel/first multiselect
In debian, parameter passing should be passed through the kernel, maybe. and here it will turn out - in pxelinux.cfg add to append tasksel:tasksel/first=""or just tasks="".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question