1 |
On Friday 23 February 2007, Neil Bothwick <neil@××××××××××.uk> wrote |
2 |
about 'Re: [gentoo-user] Gentoo way of handling pre-built kernels': |
3 |
> On Fri, 23 Feb 2007 10:42:17 +0100, Robert Szentmihalyi wrote: |
4 |
> > I have successfully deployed Gentoo on about 30 desktop PCs in a |
5 |
> > corporate environment. |
6 |
> > Now, as I need to update the kernel on those PCs, I wonder if there is |
7 |
> > a standard Gentoo way (maybe a script or something), that people are |
8 |
> > using to build and deploy binary kernel packages. |
9 |
> |
10 |
> Even better, if the |
11 |
> machines are all networked, push the changes out with rsync then use |
12 |
> tentakel (or a for loop) to reboot each box. |
13 |
|
14 |
Or, push the kernel (with included initramfs) out via netboot, and after |
15 |
mounting the root filesystem, copy the modules into place. If you have a |
16 |
large number of modules (too big to fit inside the kernel image), push |
17 |
them with rsync (or similar) to the client machines, either from within |
18 |
the initramfs or with an initscript that starts before any others. |
19 |
|
20 |
> You could also put this in an update script on each of the boxes then |
21 |
> use tentakel to run it on some or all of them. tentakel (in portage) is |
22 |
> a handy way of running the same command on a group of machines, and you |
23 |
> can set up named groups and subgroups to make life even easier. |
24 |
|
25 |
Never used tentakel, but IIRC there's another parallel-shell tools |
26 |
available that works over rsh/rlogin/ssh called psh. |
27 |
|
28 |
-- |
29 |
Boyd Stephen Smith Jr. ,= ,-_-. =. |
30 |
bss03@××××××××××.net ((_/)o o(\_)) |
31 |
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' |
32 |
http://iguanasuicide.org/ \_/ |
33 |
New GPG Key! Old key expires 2007-03-25. Upgrade NOW! |