[Yum] Kickstart and Yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is almost exactly what we do to build out our machines, and it works
really well. We have cfengine thrown in the mix to handle configuration changes
after the yum updates complete.

So far we have it handling nearly 2000 machines and haven't had any problems
with it. (thanks, Seth!)

-lars

>From Michael Stenner <mstenner@xxxxxxxxxxxxxxx>, Mon, Sep 13, 2004 at 04:08:29PM -0700:
> On Mon, Sep 13, 2004 at 04:55:26PM -0600, Marc Benstein wrote:
> > I was curious if anyone has integrated yum into a kickstart 
> > installation. At the present time I do a kickstart install from a local 
> > web server and then run a script that handles all the updates via yum. 
> > Has anyone successfully used the %post section of the kickstart file to 
> > achieve this? And how did you do it?
> 
> There are many many ways.  Here is but one:
> 
> %post
> exec > /root/kickstart_post.log 2>&1
>  
> YUMCONF=http://server.com/path/to/yum.conf
> YUM="/usr/bin/yum -e 0 -d 1 -y -c $YUMCONF"
>  
> /sbin/chkconfig --add yum
> /sbin/chkconfig yum on
> /sbin/service yum start
>  
> $YUM update yum
> $YUM update
> 
> Note, you may also enjoy the "group*" family of commands and the
> associated groups definitions.  Search this list using google with
> site: to find them.
> 
> 					-Michael
> 
> -- 
>   Michael D. Stenner                            mstenner@xxxxxxxxxxxxxxx
>   ECE Department, the University of Arizona                 520-626-1619
>   1230 E. Speedway Blvd., Tucson, AZ 85721-0104                 ECE 524G
> _______________________________________________
> Yum mailing list
> Yum@xxxxxxxxxxxxxxxxxxxx
> https://lists.dulug.duke.edu/mailman/listinfo/yum

--
lars damerow
button pusher
pixar animation studios
lars@xxxxxxxxx

I'm your only friend, I'm not your only friend, but I'm a little glowing
friend, but really I'm not actually your friend, but I am...

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux