Red Hat Bugzilla – Bug 234351
%include should be able to grab URLs
Last modified: 2007-11-30 17:07:43 EST
Description of problem:
%include would be much more useful if I didn't have to rely on only items
accessable via the local file system
Version-Release number of selected component (if applicable):
Simple patch attached to change readKickstart()'s call to open() to use
Created attachment 151136 [details]
use urlgrabber.grabber.urlopen() to open %include files
Created attachment 151138 [details]
use urlgrabber.grabber.urlopen() to open all kickstart config files so that %include URLs can happen
Slightly updated patch.
anaconda-126.96.36.199/kickstart.py doesn't catch IOError when calling
readKickstart(), making for not so pretty exception and exit when a %include
file is missing. This way the interface can handle it as gracefully as
This will be in the next build of pykickstart in rawhide, which means that it
will eventually be in the next release of RHEL. If you'd like this feature
included in an update to RHEL5, please go through your support representative
who will raise the issue through the appropriate channels. Thanks for the
As for handling IOError, I'd prefer anaconda handle that correctly instead of
doing anything in pykickstart, so I've beefed up the error handling there instead.
is there any other way to vote for this extension? it's simple clear patch and
would be very useful?