summaryrefslogtreecommitdiffstats
path: root/dracut
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2012-08-13 13:08:08 -0400
committerWill Woods <wwoods@redhat.com>2012-08-13 14:52:03 -0400
commit3d09d6487140b5d1c5af07f2f6d2604085a25f62 (patch)
treea29171c6b122b5b37d127c2a3b1868e73f7088f7 /dracut
parent0d776b76bf209fdc800b100f367a1e5993609a68 (diff)
downloadanaconda-3d09d6487140b5d1c5af07f2f6d2604085a25f62.tar.gz
anaconda-3d09d6487140b5d1c5af07f2f6d2604085a25f62.tar.xz
anaconda-3d09d6487140b5d1c5af07f2f6d2604085a25f62.zip
dracut: suppress ks errors from missing %include
The kickstart parsing that happens in dracut is the "early" parsing - it doesn't run %pre and it might not be connected to the network, so it's possible we'll have %include lines that aren't yet valid. KickstartParser has a 'missingIncludeIsFatal' attribute for this reason. Set it to False (like loader did) to turn off these errors.
Diffstat (limited to 'dracut')
-rwxr-xr-xdracut/parse-kickstart2
1 files changed, 1 insertions, 1 deletions
diff --git a/dracut/parse-kickstart b/dracut/parse-kickstart
index 13a0e8f43..0cbb4368a 100755
--- a/dracut/parse-kickstart
+++ b/dracut/parse-kickstart
@@ -285,7 +285,7 @@ def ksnet_to_ifcfg(net, filename=None):
def process_kickstart(ksfile):
handler = DracutHandler()
handler.ksdevice = os.environ.get('ksdevice')
- parser = KickstartParser(handler)
+ parser = KickstartParser(handler, missingIncludeIsFatal=False)
log.info("processing kickstart file %s", ksfile)
processed_file = preprocessKickstart(ksfile)
try: