From 55299e3944bc7eb15eab84bc5931067ac47f78e0 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Mon, 22 Sep 2014 16:24:42 -0700 Subject: [PATCH] livemedia-creator: Use RHEL7 version of kickstart (#1144140) Need to use the right kickstart version, eg. support for bootloader --disabled Related: rhbz#1144140 --- src/sbin/livemedia-creator | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sbin/livemedia-creator b/src/sbin/livemedia-creator index f5b4b6a8..62b9b248 100755 --- a/src/sbin/livemedia-creator +++ b/src/sbin/livemedia-creator @@ -40,7 +40,7 @@ import re # Use pykickstart to calculate disk image size from pykickstart.parser import KickstartParser -from pykickstart.version import makeVersion +from pykickstart.version import makeVersion, RHEL7 # Use Mako templates for appliance builder descriptions from mako.template import Template @@ -973,7 +973,7 @@ if __name__ == '__main__': # Parse the kickstart if opts.ks: - ks_version = makeVersion() + ks_version = makeVersion(RHEL7) ks = KickstartParser( ks_version, errorsAreFatal=False, missingIncludeIsFatal=False ) ks.readKickstart( opts.ks[0] )