# upgrade.cfg - kickstart configuration file for Red Hat Linux for linatX # # Kickstart config file for the U-M ATLAS Grid Testbed cluster # Based on the CERN Red Hat Linux 7.2.1 release, which incluces # CERN packages (so this won't work with a regular RH 7.2 distribution). # # Eric Myers - University of Michigan ATLAS project # @(#) $Id: upgrade.cfg,v 1.1 2002/05/31 14:39:53 myers Exp myers $ ###################################################################### # Kickstart commands: # Install or Upgrade? (Interactive will ask to verify) upgrade text #interactive ### Language/Localization Specifications: lang en_US langsupport en_US keyboard us mouse generic3ps/2 --device psaux timezone --utc US/Michigan ### Network Configuration using linux-install IP network --nodns --hostname install-gig --bootproto static --ip 141.211.43.124 --netmask 255.255.255.224 --gateway 141.211.43.97 ### Source File Location: url --url ftp://141.211.43.101/pub/linux/RH7.2 ### Authorization/Authentication authconfig --enableshadow --enablemd5 --enablenis --nisdomain "um-atlas-grid" # rootpw --iscrypted $1$5DªkT1ÕB$9f/vGjZjbgenixvdoE5fj0 firewall --disabled ### Simplest X configuration skipx ### Partitioning Information: use existing partitions! ### Bootloader: bootloader --useLilo --location=mbr ###################################################################### # Packages: # ### The package names, as well as the groups they are a part of can be ### found in the /RedHat/base/comps file; individual packages can be ### specified by entering their names one per line; ### groups (e.g. 'X Window System') can be specified ### by appending a "@" in front of the group name; ### e.g. '@ X Window System' %packages @ Printing Support @ Classic X Window System @ X Window System @ Sound and Multimedia Support @ Network Support @ Messaging and Web Tools @ Graphics and Image Manipulation @ Software Development @ CERN OpenAFS client @ CERN Kernel Source @ CERN Kerberos4 client @ CERN OpenSSH @ CERN Legacy Compatibility @ CERN WinDos Compatibility @ CERN Tools @ CERN Development Support @ CERN HEPiX @ CERN Compatibility @ CERN AddOns @ CERN Workstation am-utils anacron apmd ash at audiofile audiofile-devel authconfig autoconf automake awesfx bc bdflush binutils bison byacc bzip2 cdecl cdrecord-devel CERN-HEPiX-scripts-X11-compat-base CERN-mozilla-javaplugin CERN-netscape-javaplugin chkfontpath console-tools cpio cpp cproto cracklib cracklib-dicts crontabs cvs db3 ddd dev dev86 diffstat diffutils doxygen-doxywizard dump e2fsprogs ed eject emacs emacs-nox emacs-X11 enscript esound esound-devel exmh expect file fileutils finger finger-server flex fortune-mod freetype freetype-devel ftp fvwm2 fvwm2-icons gawk gd gdb gdbm gdbm-devel gd-devel gettext ghostscript ghostscript-fonts gimp-devel glib glib10 glibc glibc-devel glib-devel gmp gnupg gnuplot gpm gpm-devel grep groff gsm-devel gtk+ gtk+10 gtk+-devel gv gzip hdparm htmlview ical imlib imlib-devel indent indexhtml initscripts ipchains iputils isapnptools jre kbdconfig kernel kernel-doc kernel-headers kernel-smp kernel-source krb5-devel krb5-libs krb5-workstation krbafs krbafs-utils kudzu less libao-devel libjpeg libjpeg-devel libmng-devel libogg-devel libpcap libpng libpng-devel libstdc++ libtermcap-devel libtiff libtiff-devel libtool libungif libungif-devel libvorbis-devel libxml libxml-devel lilo lkcdutils logrotate losetup lsof ltrace lynx m4 mailcap mailx make man man-pages memprof Mesa Mesa-devel mikmod mingetty minicom mkbootdisk mkinitrd mkxauth modutils mount mouseconfig mozilla mozilla-mail mozilla-psm mpage -mt-st ncompress ncurses nedit netpbm-devel netscape-common netscape-communicator net-tools newt nfs-utils nmap-frontend ntsysv openldap openldap-devel openmotif-devel openssh-askpass pam pam_krb5 passwd patch pciutils pciutils-devel perl pidentd pine playmidi -playmidi-X11 pmake popt portmap -postfix procinfo procmail procps psmisc pump pwdb pygtk python python-tools quota raidtools rcs rdate rdist readline readline-devel redhat-config-network redhat-logos rmt rootfiles rpm rpm-build rpm-devel rpm-python rsync rusers rusers-server rwall-server rwho rxvt samba samba-client samba-common sane-backends-devel sash screen SDL SDL_image SDL_mixer SDL_net sed sendmail setserial setuptool shapecfg sharutils sh-utils slang slang-devel slocate smpeg sndconfig sox stat strace sysklogd sysreport tar tcl tclx tcpdump tcp_wrappers tcsh telnet -telnet-server textutils time timeconfig tix tk tkinter tmpwatch traceroute transfig ucd-snmp ucd-snmp-utils unzip urw-fonts usbview usermode utempter util-linux VFlib2-devel vim-common vim-minimal vixie-cron which words Xaw3d Xaw3d-devel Xaw3d-devel xawtv Xconfigurator XFree86 XFree86-3DLabs XFree86-75dpi-fonts XFree86-compat-libs XFree86-compat-modules XFree86-devel XFree86-libs XFree86-SVGA XFree86-VGA16 XFree86-xfs xinetd xinitrc xloadimage xlockmore xmms xmorph xpdf xscreensaver xsri ypbind ypserv yp-tools zip zlib zlib-devel zsh ###################################################################### # Post processing: %post echo "LinatX Magic Kickstart Bootdisk for CERN Red Hat Linux 7.2.1 " > /root/ks.log echo "Installed `date` " >>/root/ks.log echo " ">>/root/ks.log cat <>/etc/motd * Linux UPGRADE in PROGRESS! EOF cat /etc/motd >>/root/ks.log #################### # Get configuration files & RPM updates via ftp echo " ">>/root/ks.log echo "ftp connect to server... " >>/root/ks.log cd /root mkdir -p /root/rpm ftp -n 141.211.101.27 <>/root/ks.log user anonymous -ks@`hostname` binary lcd /root cd /pub/linux/um-atlas-grid get linatX-upgrade.tar get upgrade.sh lcd /root/rpm cd /pub/linux/RH7.2/updates prompt mget *.rpm quit EOF #################### # Update rpm's echo " ">>/root/ks.log echo "Updating rpm's ... " >>/root/ks.log cd /root/rpm LIST=`ls -A1 *.rpm 2>/dev/null` for PKG in $LIST do if rpm -U -hv $PKG >>/root/ks.log then /bin/rm -f $PKG fi done rpm -Uhv *.rpm >>/root/ks.log ############## # Unpack the tar file to put config files in place if [ -f /root/linatX-upgrade.tar ]; then echo " ">>/root/ks.log echo "Unpacking the tar file linatX-upgrade.tar ..." >>/root/ks.log cd / tar xvf /root/linatX-upgrade.tar >>/root/ks.log fi #################### # If there is an executable config script then run it! echo " ">>/root/ks.log if [ -f /root/upgrade.sh ]; then echo "Execing upgrade.sh..." >>/root/ks.log chmod +x /root/upgrade.sh exec /root/upgrade.sh >>/root/ks.log else echo "No executable upgrade.sh found." >>/root/ks.log fi echo "Done." >>/root/ks.log exit 0 # EOF