How can I remove packages using preseed?

Posted by Jorge Castro on Ask Ubuntu See other posts from Ask Ubuntu or by Jorge Castro
Published on 2011-07-28T04:40:48Z Indexed on 2014/05/29 15:57 UTC
Read the original article Hit count: 294

Filed under:
|

I'm setting up an automated "no questions asked" preseed system and using Dustin Kirkland's server preseed as an example.

He uses the following line to install three packages as part of the automated install:

d-i pkgsel/include string byobu vim openssh-server

I am looking for the inverse of this, basically be able to remove packages as part of the automated install.

I am thinking I need to to use d-i preseed/late_command string apt-remove packagename to clean up stuff I don't want when the install is done, but I am not sure

© Ask Ubuntu or respective owner

Related posts about installation

Related posts about preseed