P
P
pashaxp2015-01-10 11:28:01
linux
pashaxp, 2015-01-10 11:28:01

How to do a fully automatic installation of Debian OS?

Good afternoon.
Ideally, you need to get a pxe server that "prepares" images for installation.
Creates pre-installation response files, for example, as shown here - https://www.debian.org/releases/wheezy/example-pre...
And having this toolkit, we start the client machine, OS installation starts on it over the network (boot priority from the network card put in the BIOS and the network card supports booting over the network)
I am also interested in how you can integrate post-installation scripts into the "prepared" Debian image for installation over the network (the scripts themselves are not a problem, we consider that they are written) , for example, installing LAMP.
Please share links, materials, experience.
Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
G1K, 2015-02-28
@pashaxp

Recently, an article on creating a pxe server slipped through, here is the link habr
I think it will be useful in this matter.

V
Vlad Zhivotnev, 2015-01-10
@inkvizitor68sl

Additional packages from preseed are installed here:
tasksel tasksel/first multiselect ssh-server
di pkgsel/include string openssh-server htop dstat
Custom script, emnip, you can run it like this at the end:
di preseed/late_command string in-target wget -O /usr /bin/foo.sh some.http/foo.sh
di preseed/late_command string in-target chmod +x /usr/bin/foo.sh
di preseed/late_command string in-target /usr/bin/foo.sh

R
RADDyomin, 2015-01-10
@RADDyomin

Are you talking about debootstrap ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question