Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I would like to automate the installation of FreeBSD 8.2 for a project I'm working on. I know the answer to every question in the standard installation, so even a script that just pushes keystrokes would be acceptable. All clues appreciated.

FWIW, I tried this question on the FreeBSD fora (http://forums.freebsd.org/showthread.php?t=23906) but only got one response that didn't solve the problem. Maybe ServerFaulters will have more ideas.

share|improve this question

1 Answer 1

up vote 6 down vote accepted

You want install.cfg! The way the installer works is it first looks for a cfg file on the install media, if it has one it uses that instead of pestering you with silly questions. You can see the entire automated install procedure (from baremetal) documented here:

http://www.locolomo.org/howto/pxeboot/article.html#SCRIPTING-SYSINSTALL

share|improve this answer
    
That looks great. However, it means that I have to re-make the distro ISO to include the install.cfg. The short bit in section 6.4 looks even more intriguing! –  Paul Hoffman Sep 10 '11 at 18:17

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.