Re: Unable to include files in kickstart

Steve Rikli <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
On Mon, Oct 22, 2012 at 01:15:14PM +0530, kk s wrote:
> Hi,
> 
> I am trying to do this on centos 5 and centos 6 not yet tried this with
> Fedora.

%include files definitely work in CentOS5 & 6.  As the notes in that
bugzilla report point out, it's "normal" for anaconda to not read an
%include file immediately as it parses the ks.cfg file, so while the
error message is correct it is not fatal.

Now if the %include file is still not being read in subsequent passes
through ks.cfg (e.g. after the network has been configured or etc.)
that is a different problem.

If you want help debugging this you'll need to provide more details.
E.g. your ks.cfg file, describe your Kickstart setup (pxe, usb media,
whatever), etc.

Cheers,
sr.


> > I want to include a file in kickstart that file contains all the partition
> > informations. But when I try to include getting the below error,
> >
> >  unable to open input kickstart file : could not open/read
> > file:///tmp/partitions
> >
> > How to fix this issue and how can I get this file include?
> 
> It depends on your circumstances.  E.g. if you are trying to Kickstart
> Fedora 17, it could be a known bug in anaconda:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=805316
> 
> See if that matches your situation, otherwise you would need to provide
> more details about your setup.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.