I am currently in the progress of migrating our kickstart-files from CentOS 5 to CentOS 6.
In CentOS 5 there was a nice anaconda/kickstart-statement that allowed the inclusion of other kickstart-statements via http. Example:
%ksappend http://myinstallserver.intranet.domain/ks/fslayout_phys.include
When I try the same statement in CentOS 6.4 I get an error during installation:
The following problem occured on line 19 of the kickstart file:
Unable to open %%ksappend file
Does anyone out there know what the issue is there?
The official RH-documentation does not say anything about ksappend any more.
For what it's worth, I don't see mention of
%ksappend
in the official RHEL5 docs, either.There is mention of
%include
, though. And this looks very similar in function. Will it work for you?Looking at the source code, the error
Unable to open %%ksappend file
is raised if the kickstart parser could reach the url and download it, but the resulting file had some other sanity error or corruption. For example, the file was empty or the response contained no headers.Check that your kickstarted server has an IP, DNS, and the url you're using is available from the network your server is on.
Here's a link to the rhel6 branch of the pykickstart code: https://git.fedorahosted.org/cgit/pykickstart.git/tree/pykickstart/parser.py?h=rhel6-branch#n99