Not finding /tmp/include created in %pre

Bledsoe, Alton Alton.Bledsoe at vce.com
Fri Jun 19 00:21:26 UTC 2015


First, I had to work around the fact that the execution of shell commands are terminated with a carriage return including file names that are created during %pre. The work around was simply:
%pre
%include http://<ip>/path/to/script.sh<http://%3cip%3e/path/to/script.sh>
%post

In this script.sh I write out network commands for 4 interfaces after capturing input from tty6.
I write to /tmp/net-include and, using alt-F2 shell terminal, I can readily see it in /tmp

The %include /tmp/net-config in the kickstart file is generating a PYCURL ERROR 22 ... 404 not found once parsed after the %pre section %end's.

Why are these simple looking things that have many similar examples on the web not working?

RHEL6.6

Al Bledsoe
++l|l++----+l||l+l||++l|||l++++-------+++--
PD&E Solutions Architect, Richardson, TX
Cell: 214-533-1698 Desk: 972-656-5341
Alton.Bledsoe at vce.com
Somebody's gotta do it.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20150618/3cb6e61c/attachment.htm>


More information about the Kickstart-list mailing list