Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.


How can I customize netboot so it installs ssh & sshd + my (root) ssh public key ?

What I need to do is put one identical installation to 10 hardware server boxes.
Basically, it needs to install the base OS with ethernet networking, plus ssh and sshd and my public key, then it needs to assign a machine name in a somehow controlled manner (say hostname "srvX" where X is a number between 1 and 10).

When ssh is up and running, I can take it from there, using ssh-scripting.

Basically, I want it to install the system in the same way on each of the 10 machines, without me doing anything but activating PXE netboot.
So I can continue right-away writing ssh install scripts.

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.