Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Are there any solutions for OpenBSD to just:

Insert the custom installer CD, press enter (like: "are you sure?" - message), then the installer automatically partitions the disk/installs OpenBSD, and then customize it a little (ex.: install a few apps from ports)?

This can be done using Kickstarter for RHEL. But can it be done for OpenBSD? I googled for it and didn't found any good yet (only that needs bigger programming skills..).

share|improve this question
3  
Is something like this what you're looking for? people.cs.uchicago.edu/~brendan/howtos/openbsd_install. Also there are others on this site: blog.boreas.ro/2007/11/unix-deployment-tools-jumpstart.html, in the BSD section. –  slm Jul 15 '13 at 12:35
add comment

1 Answer

up vote 3 down vote accepted

An OpenBSD install does most of that currently, but you just have to press "enter" a lot. As for doing the pkg_installs and other customizations, there is (and has been for a long time) a mechanism to do that, although it's harder to track down the documentation if you don't know what you are looking for. The installer will pull a sitexx.tgz or sitexx-hostname.tgz install set if it is on your installer source.

The FAQ has a lot of details here: http://www.openbsd.org/faq/faq4.html#site

The one other big tip I'll give you that is also mentioned there is the rc.firsttime(8) script mechanism. If you drop a file at /etc/rc.firsttime, those commands will be run at the next boot and then the file is deleted. If doing so in the installer, append to that file, since the installer uses it to.

I saw some rumblings on the mailing lists that a developer is working on an even more automated mechanism for the installer too...

UPDATE 2013-10-29 - And here's the beginning of the new automation method, still very rough: http://marc.info/?l=openbsd-cvs&m=138291339126976&w=2

UPDATE 2014-01-06 - Here's a call for testing the new automatic install method: http://www.undeadly.org/cgi?action=article&sid=20140106055302

share|improve this answer
add comment

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.