Re: The %include directive on a NFS installation

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

 



tnx, i'll try it tomorrow


:-)

----- Original Message -----
From: "John" <red@xxxxxxxxxxxxxxxxxxxxxxx>
To: <kickstart-list@xxxxxxxxxx>
Sent: Saturday, January 11, 2003 10:39 PM
Subject: Re: The %include directive on a NFS installation


> On Thu, 9 Jan 2003, Stefano Dall'Olio wrote:
>
> > I've made my ks.cfg file available on an NFS share.
> > I've boot my system with the boot floppy.
> > I've wrote at the prompt:
> >     linux ks=nfs:nfsservername.local.lan:/MyDir/ks.cfg
> > In this dir there are a file called ks.cfg like this:
> >
> > install
> > nfs --server=nfsservername.local.lan --dir=/zip/ISO/RH80
> > lang en_US
> > ....
> > ....
> > etc
> >
> > Works all fine.
> >
> > But now i'd like to use the %include directive to best manage my ks
file.
> > I've placed the ks_part01.inc in the same dir as ks.cf
> > I've try with:
> >     %include /MyDir/ks_part01.inc
> >     %include ks_part01.inc
> >     %include nfs:nfsservername.local.lan:/MyDir/ks_part01.inc
> >     %include nfsservername.local.lan:/MyDir/ks_part01.inc
> >
> > But the installation exit abnormally with the code:
> > IOError: [Errno 2] No such file or directory: '........./ks_part01.inc'
> >
> > How Can I Do to specify an include file in my ks.cfg file in a NFS
installation ?
>
> In the %pre section, add this command:
> mount
>
> That will show you where the nfs filesystem is mounted, and then you can
> deduce the correct path to use. Anaconda does not need to mount the
> filesystem a second time, and so nfs: etc paths are wrong.
>
>
> --
> Please, reply only to the list.
>
>
>
>
> _______________________________________________
> 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