Add support for OpenBSD Provisioning
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
#1 Updated by Benjamin Papillon about 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 almost 3 years ago
- Assignee deleted (
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.