system configuration / backup / restore

I built a utility to automate the installation and setup of my FreeBSD systems so that I can quickly and easily rebuild a system to match another configuration.
I was hoping to generalize it to the point where others would find it useful.

It essentially automates these steps as what I call patches:
1. package (pkg), pypi, npm, installation
2. kernel build and installation (provided a configuration is supplied)
3. jail setup, runs the main install process for the jail
4. rc / sysctl / bootloader configuration
5. crontab configuration
6. periodic configuration
7. rust / go setup, build, and installation of built binaries
8. cups printers
9. user / group setup
10. generic shell script execution
11. pf anchor / table schedules (crontab)
12. files / symlink / chown / chmod
13. freebsd update to ensure system is patched
14. microcode update to ensure firmware / CPU is patched
15. zfs setup and cloning of volumes / snapshots
16. downloading of files


Does anyone else see utility in this? What would be the next steps to make it more useful for others? I created a generic git repository illustrating how one might use it to build a system.

Users would need to download the USB image from the FreeBSD website, install that to their thumbdrive and then patch it with my utility. Then, when booting up, the user would run another command _bsdinstall which kickstarts the installation wrapping bsdinstall with additional functionality.

It is repeatable.
 
[…] Does anyone else see utility in this?
What would be the next steps to make it more useful for others? […] Then, when booting up, the user would run another command _bsdinstall which kickstarts the installation wrapping bsdinstall with additional functionality.
An unattended install would be useful. I enable/do a one‑time PXE boot and the TFTP server serves the installation image.​
 
Back
Top