Article 53592 How to create a custom automated install with specific list of packages?

How to create a custom automated install with specific list of packages?

by
Red Squirrel
from LinuxQuestions.org on (#53592)
I want to create a custom unattended install so that when I setup a system I can automate all the base install stuff I would normally do on a new system like copy custom utility scripts that I use, set aliases etc and also have specific packages installed by default. So I can add any custom packages, settings and so on. there's a few tutorials such as this one:

https://wiki.debian.org/DebianInstaller/Preseed

and this one:

https://wiki.debian.org/DebianCustom...2C_Binary_Only

That compliment each other.

But one thing I want to be able to do is to specify the list of packages I want to be installed automaticly, none of these tutorials seem to really explain those details or there are weird quircks, like not including packages already installed on the prototype system.

Essentially what I want to do is that whatever packages are on the prototype system, also end up on the custom CD and become part of the install, including dependencies.

So if I later realize I want another package as part of the CD I can go on the prototype system, apt-get install it, then run my script to regenerate the CD.

Also, I would like it to include the updated packages, so if I do apt-get upgrade on the prototype PC it would include the newer versions on the CD.

How would I go about doing that?

I want to upgrade all my servers to a newer OS as they are out of date so I figure before I do that I want to make this custom installer just to streamline everything and also have a more consistent install throughout. I eventually want to make my own custom server distro (basically just Debian or another distro that has my own custom front end on it so nothing crazy) and this knowledge will come in handy for that.latest?d=yIl2AUoC8zA latest?i=iuEvQ_tFeZE:EDrl-HHwEHE:F7zBnMy latest?i=iuEvQ_tFeZE:EDrl-HHwEHE:V_sGLiP latest?d=qj6IDK7rITs latest?i=iuEvQ_tFeZE:EDrl-HHwEHE:gIN9vFwiuEvQ_tFeZE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments