Hello,
What I am looking for is the ability to what I call "auto-install" a FreeBSD installation and I am stuck.
I have created a custom FreeBSD memstick .img... You can follow that over in this thread if you would like https://forums.freebsd.org/threads/create-custom-freebsd-img-from-original-freebsd-13-0-release-amd64-memstick-img.81405/. That works great as now I can include all the extra packages I need for installation directly in the .img. Where I am stuck now is the /etc/installerconfig. I have read through several threads that talk about customizing the install with an /etc/installerconfig file; however, I have not had any luck with that. Furthermore, I have not seen any that use zfs.
What I am looking for in an /etc/installerconfig is (these items are very similar to the standard bsdinstall that is found on the memstick-img...):
Is this even doable?
You may ask... Why do through all this when you can simply use the standard bsdinstall that comes with the memstick-img? Good question... I do not trust our users to consistently install the system with the same settings over and over again. I want a consistent installation each time they install and by forcing some standard configuration along with asking for items that are changeable, life will be good...
Maybe this is not the best way to accomplish this. If no, are there any suggestions?
Thanks,
What I am looking for is the ability to what I call "auto-install" a FreeBSD installation and I am stuck.
I have created a custom FreeBSD memstick .img... You can follow that over in this thread if you would like https://forums.freebsd.org/threads/create-custom-freebsd-img-from-original-freebsd-13-0-release-amd64-memstick-img.81405/. That works great as now I can include all the extra packages I need for installation directly in the .img. Where I am stuck now is the /etc/installerconfig. I have read through several threads that talk about customizing the install with an /etc/installerconfig file; however, I have not had any luck with that. Furthermore, I have not seen any that use zfs.
What I am looking for in an /etc/installerconfig is (these items are very similar to the standard bsdinstall that is found on the memstick-img...):
- Ask for Keymap Selection since the installation can possibly be in any locale.
- Ask for Hostname.
- I would like to use Auto (ZFS). Use stripe, Use ada0, and partition is with the "standard" installer settings.
- Extract all base, kernel, and lib32.txz files.
- Ask for a new root password.
- Choose automatically the 1st network card and setup IPv4 and DHCP.
- Then we need to ask for the Time Zone Selection.
- sshd needs to be enabled.
Is this even doable?
You may ask... Why do through all this when you can simply use the standard bsdinstall that comes with the memstick-img? Good question... I do not trust our users to consistently install the system with the same settings over and over again. I want a consistent installation each time they install and by forcing some standard configuration along with asking for items that are changeable, life will be good...
Maybe this is not the best way to accomplish this. If no, are there any suggestions?
Thanks,