Re: How to use %include ?

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

 



On Fri, 2002-05-31 at 16:52, Philip Rowlands wrote:
> On Fri, 31 May 2002, Philip Rowlands wrote:
> 
> >Any suggestions how to make %include work?
> [snip]
> 
> >I've tried putting the full path (on the NFS server), and various
> >mountpoints on the kickstart client, but I can't make it work, and I'm
> >too lazy to work out how to hack anaconda and make a new initrd.
[snip]
> What is available, however, is the NFS mount on /mnt/source, which is
> pointed to by the kickstart file. Files placed in a directory next to
> RedHat and base are available, as /mnt/source/ksinclude, for example.

Yep.  You can also mount other locations from the %pre and then grab
files from wherever you mounted.  Or grab files via python's urllib. 
%include in combination with doing a little bit in the %pre provides a
lot of flexibility (which was the entire goal).

> Alas, even though the file is read, it is ignored, and the package list
> is not included. Don't know why.

How is it ignored?  Should work afaik, but I'd need more information on
exactly how your kickstart config and the included file to be able to
say why it failed to.

Cheers,

Jeremy





[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