Project

General

Profile

Feature #13539

Add support for OpenBSD Provisioning

Added by Benjamin Papillon over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Unattended installations
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

I wish Foreman supports OpenBSD provisioning.

Here are some pointers how OpenBSD manage automatic installations :
- Auto installation instructions http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/autoinstall.8?query=autoinstall
- Disklabel man pages for auto-partitioning (look at -T option) http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/disklabel.8?query=disklabel

History

#1 Updated by Benjamin Papillon over 3 years ago

Sample auto install script :

System hostname = fw
Choose your keyboard layout = us
Password for root = Foreman!
network interface = em0
IPv4 address for em0 = dhcp
Setup a user = no
Do you expect to run the X Window System = no
Change the default console to com0 = no
Since you set up a user, disable sshd(8) logins to root = no
Public ssh key for root account = none
What timezone are you in = Europe/Paris
Location of sets = cd
Set name(s) = -game*.tgz -x*.tgz -comp*.tgz
Directory does not contain SHA256.sig. Continue without verification = yes
URL to autopartitioning template = http://192.168.79.157/autodisklabel

Sample disklabel script :

/              250M-4G 15%
swap           1G
/tmp           1G
/var           1G-*    70%

#2 Updated by Michael Moll over 3 years ago

  • Assignee deleted (Michael Moll)

I think this is not as easy as it seemed first. While the installer does support unattended installs, there are some assumptions made about the PXE environment, e.g. requiring to have some files like (tftproot)/etc/boot.conf, I didn't look further then.

Also available in: Atom PDF