livemedia-creator: Use RHEL7 version of kickstart (#1144140)
Need to use the right kickstart version, eg. support for bootloader --disabled Related: rhbz#1144140
This commit is contained in:
parent
0e6ea6be85
commit
55299e3944
@ -40,7 +40,7 @@ import re
|
|||||||
|
|
||||||
# Use pykickstart to calculate disk image size
|
# Use pykickstart to calculate disk image size
|
||||||
from pykickstart.parser import KickstartParser
|
from pykickstart.parser import KickstartParser
|
||||||
from pykickstart.version import makeVersion
|
from pykickstart.version import makeVersion, RHEL7
|
||||||
|
|
||||||
# Use Mako templates for appliance builder descriptions
|
# Use Mako templates for appliance builder descriptions
|
||||||
from mako.template import Template
|
from mako.template import Template
|
||||||
@ -973,7 +973,7 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
# Parse the kickstart
|
# Parse the kickstart
|
||||||
if opts.ks:
|
if opts.ks:
|
||||||
ks_version = makeVersion()
|
ks_version = makeVersion(RHEL7)
|
||||||
ks = KickstartParser( ks_version, errorsAreFatal=False, missingIncludeIsFatal=False )
|
ks = KickstartParser( ks_version, errorsAreFatal=False, missingIncludeIsFatal=False )
|
||||||
ks.readKickstart( opts.ks[0] )
|
ks.readKickstart( opts.ks[0] )
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user