[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: The %include directive on a NFS installation
- From: John <red computerdatasafe com au>
- To: kickstart-list redhat com
- Subject: Re: The %include directive on a NFS installation
- Date: Sun, 12 Jan 2003 05:39:28 +0800 (WST)
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.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]