RE: Applying updates during kickstart-installation

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

 



This is working for me under RH 7.3:

#Post-Install
%post

#Set the date
/bin/echo "Setting date..." | /usr/bin/tee -a /root/post.log
/usr/bin/rdate -s 199.99.99.55
/bin/echo "Starting post-install: `date`" | /usr/bin/tee -a
/root/post.log

#Change to virtual terminal number 3 to see echoed output
/usr/bin/chvt 3

#Create mount point and mount it
/bin/echo "Creating mount point and mounting NFS server..." |
/usr/bin/tee -a /root/post.log
/bin/mkdir /mnt/a
/bin/mount -o nolock,wsize=8192,rsize=8192 10.12.122.11:/jumpstart
/mnt/a
sleep 3

#Install and/or update RPMs
/bin/echo "Adding Packages..." | /usr/bin/tee -a /root/post.log
/bin/echo "...apt..." | /usr/bin/tee -a /root/post.log
/bin/rpm -ivh
/mnt/a/Linux/RedHat-7.3/RedHat/RPMS/apt-0.5.4cnc9-fr0.1.rh73.i386.rpm
sleep 3

Eric Lambert  


-----Original Message-----
From: Daniel Nilsson (GIS) [mailto:Daniel.Nilsson@xxxxxxxxxxxxxxx] 
Sent: Monday, March 10, 2003 9:42 AM
To: 'kickstart-list@xxxxxxxxxx'
Subject: Applying updates during kickstart-installation



Whats the easiest way to apply updated rpms during
kickstart-installation (nfs-mounted)? To both RedHat 8.0 and RedHat 7.2.

Regards

   Daniel



_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/kickstart-list





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux