This is something NixOS excels at, but there is a bit of a learning curve. Maybe ansible as a non distro specific approach although I haven't used it myself.
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil.
-
No spam.
-
Posts are to be related to self-hosting.
-
Don't duplicate the full text of your blog or readme if you're providing a link.
-
Submission headline should match the article title.
-
No trolling.
-
Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.
-
AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I’ve used commercial systems that provide what you are asking for. I’m not sure it is worth the time to setup for a home lab. I don’t see the ROI for it. Too much initial setup for the small gains afterwards.
I expect you’ll want to bake in a install config and likely a update-all.sh of some sort to each image you want to deploy. I think the frequency of that is the major time suck unless you only use LTS releases.
That said I think a PXE boot server is what you may be looking for.
I had a pxe server for my house a few years ago, and the effort maintaining it well outstripped the savings, especially for windows images. It was useful for learning, but not for real life usage.
Clonezilla. I usually prepare images in virtual machines and restore them on physical drives.
I just have a bash script I run after the installation to configure things and install the software I use.
seems likea FOG server: https://fogproject.org/ is what you need.
A awesome project and greatly simplifies the PXE boot process. You have a repo of images you have setup ready to go and be installed.
I set this up for production on a factory floor for others to use. It’s nice, works extremely well once set up. Importing and exporting images could be easier.
If you want to use OpenSUSE leap as your OS autoyast is made for that: automatic installation and configuration of new systems without (or with minimal) attendence
Or you could write an bash script that makes all those configurations and just run it after finishing the Install.
An ansible playbook would be another option to do these configurations semi-automatically
I liked fog a few years back
I didn't actually implement it, but it looked like the winner last time I looked. I'd also recommend starting there.
For work it's all Windows so we use MECM.
I have a set of shell / powershell scripts that I run post-install to configure everything. They are hosted on a local webserver, so it is just a one-line command to run the appropriate one.
Fog and sysprep.