Re: nfs in %post after an http install - 7.3

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

 



On Mon, 2002-07-22 at 17:14, Carl Riches wrote:
> On 21 Jul 2002, seth vidal wrote:
> 
> > Hey all,
> >  I'm still trying to get access to an nfs share in %post after
> > installing via http. I tried putting a %pre with modprobe -a nfs - no
> > luck, so then I tried doing that from vt2 during the install - I run
> > modprobe -a nfs - it returns w/o error but then lsmod shows no nfs
> > modules loaded.
> >
> > any suggestions welcome, its irritating me a fair bit now.
> >
> 
> Here's how we do it:
> 
> # P O S T - I N S T A L L A T I O N   C O M M A N D S
> %post
> 
> # install Documentation (FAQs, HOWTOs, Reference Guide, Getting Started Guide,
> # and Customization Guide)
> /bin/mount 192.168.0.1:/RedHat/7.1 /mnt
> cd /mnt/Documentation_CD/RedHat/RPMS
> /bin/rpm -Uvh faq-7.1-1.noarch.rpm
> /bin/rpm -Uvh howto-7.1-1.noarch.rpm
> /bin/rpm -Uvh rhl-rg-en-7.1-1.noarch.rpm
> /bin/rpm -Uvh rhl-gsg-en-7.1-1.noarch.rpm
> /bin/rpm -Uvh rhl-cg-en-7.1-1.noarch.rpm
> cd /
> 

right - the problem worked out to be this - if you get neither the files
nor the ks.cfg from nfs then anaconda will not load the nfs modules and
there is no other way to load those modules.

So I worked around it and rewrote my %post scripts to use http rather
than nfs.

its more work but it does function.

-sv

Attachment: signature.asc
Description: This is a digitally signed message part


[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