mounting nfs directory in kickstart post installation scripts

Joe_Wulf Joe_Wulf at yahoo.com
Wed Nov 21 13:42:35 UTC 2007


Annappa,

What I've found successful is to execute the mount and other command no
differently than I would in a regular fully built system.  Note that this
does happen AFTER all the other RH installation activities.


%post
mount <ip.address.of.server>:/source/directory  /mnt
cp  /mnt/<your RPM's>  /root
cd  /root
rpm  -ivh *.rpm




R,
-Joe Wulf, CISSP, USN(RET)
 Senior IA Engineer
 ProSync Technology Group, LLC
 www.prosync.com


-----Original Message-----
From: kickstart-list-bounces at redhat.com
[mailto:kickstart-list-bounces at redhat.com] On Behalf Of annappa gk
Sent: Wednesday, November 21, 2007 06:30
To: kickstart-list at redhat.com
Subject: mounting nfs directory in kickstart post installation scripts

Hi all,

I have copied some rpms to nfs dir. how do i mount this in post installtion
script to install these RPMS.

thanks in advance,
Annappa





More information about the Kickstart-list mailing list