View previous topic :: View next topic |
Author |
Message |
coreyfro n00b
Joined: 09 Mar 2005 Posts: 7
|
Posted: Wed Apr 07, 2021 6:14 pm Post subject: Unattended Gentoo Installations |
|
|
Hey all,
Long time Gentoo user. It's been about a decade since I've used Gentoo in earnest, but from 2003 to 2010, I was strictly Gentoo. Before that, LFS.
I am to a point in my life where I trust Gentoo and portage more than myself and where CPU time is WAY cheaper than mine.
What I am looking for is a "Human out of the loop" method for installing custom systems. I feel there should be a way to front load the configuration and tell the OS to go build itself.
Why human out of the loop? Because, for the work I do, I need consistent compilation. If there is a bug that needs to be fixed or a package which needs to be updated, I want to reflect that change in a config file and rebake the whole damn thing.
I do not see an unattended system for Gentoo, which I find surprising. I suspect it is out there but isn't well documented. |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3149
|
Posted: Wed Apr 07, 2021 6:57 pm Post subject: |
|
|
The thing you're talking about is called "Catalyst" and/or GRS. Both are parts of Release Engineering project.
It was an overkill for me, but I think it will be the perfect tool for you.
I suppose https://wiki.gentoo.org/wiki/Project:RelEng will give you some idea. You may want to join their irc or something... You can guess it's not extremely popular tool. |
|
Back to top |
|
|
libfab n00b
Joined: 17 Dec 2016 Posts: 17
|
Posted: Sun May 09, 2021 10:34 am Post subject: Re: Unattended Gentoo Installations |
|
|
coreyfro wrote: | Hey all,
I do not see an unattended system for Gentoo, which I find surprising. I suspect it is out there but isn't well documented. |
Maybe you could try experimenting with MKG (https://forums.gentoo.org/viewtopic-p-8608293.html#8608293). This is unsupported software. It comes with caveats and limitations. Yet I have now enough successful runs to at least encourage people to have a go. Documentation is fairly extensive. While it is not possible to customize each and everything with MKG, there are enough command line options to accommodate most needs. You will always be able to fine-tune your /etc/portage parameters once your quickstart platform is alive and kicking. |
|
Back to top |
|
|
WareChameleon n00b
Joined: 13 Jun 2021 Posts: 12
|
Posted: Mon Jun 14, 2021 12:56 am Post subject: |
|
|
I have a set of scripts which will let you deploy Virtual Machines accessed by Diskless Gentoo Terminals, all automated.
Once you build the KVM Server, NFS Server, and First Terminal, you can deploy as many Terminals as you want.
So you could build once and deploy for 100 for each version in 10 minutes.
The scripts also use a configuration file so the second use is even faster. (upgrades)
There are also a few backup scripts for KVM in that package.
https://github.com/CapriG/Gentoo-Automation
Last edited by WareChameleon on Tue Jun 15, 2021 7:58 am; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54295 Location: 56N 3W
|
Posted: Mon Jun 14, 2021 8:15 am Post subject: |
|
|
WareChameleon,
If the scripts are worth sharing they are worth putting on github.
Soliciting email addresses WareChameleon wrote: | I can email it all to you for free if you send me a message. | sounds like another phishing scam. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
WareChameleon n00b
Joined: 13 Jun 2021 Posts: 12
|
Posted: Tue Jun 15, 2021 9:03 am Post subject: Re: Unattended Gentoo Installations |
|
|
coreyfro wrote: | Hey all,
Long time Gentoo user. It's been about a decade since I've used Gentoo in earnest, but from 2003 to 2010, I was strictly Gentoo. Before that, LFS.
I am to a point in my life where I trust Gentoo and portage more than myself and where CPU time is WAY cheaper than mine.
What I am looking for is a "Human out of the loop" method for installing custom systems. I feel there should be a way to front load the configuration and tell the OS to go build itself.
Why human out of the loop? Because, for the work I do, I need consistent compilation. If there is a bug that needs to be fixed or a package which needs to be updated, I want to reflect that change in a config file and rebake the whole damn thing.
I do not see an unattended system for Gentoo, which I find surprising. I suspect it is out there but isn't well documented. |
The script I mentioned above won't build a system for you, but will allow you to mass deploy a build using the Diskless boot method en masse.
I used to build a template once at home and then go to three different businesses and redeploy a new version for 90 Terminals in 10 minutes after initial setup. |
|
Back to top |
|
|
|