[Yum] Kickstart and Yum

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

 



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

[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