Implemented option to skip packages selection in installclass
This commit is contained in:
parent
4aa7924af7
commit
9bb56a32e9
@ -51,7 +51,8 @@ class BaseInstallClass(object):
|
|||||||
_descriptionFields = ()
|
_descriptionFields = ()
|
||||||
name = "base"
|
name = "base"
|
||||||
pkgstext = ""
|
pkgstext = ""
|
||||||
# default to showing the upgrade option
|
# default to showing the packages selection and upgrade options
|
||||||
|
showPackageSelection = True
|
||||||
showUpgrade = True
|
showUpgrade = True
|
||||||
bootloaderTimeoutDefault = None
|
bootloaderTimeoutDefault = None
|
||||||
|
|
||||||
@ -128,7 +129,7 @@ class BaseInstallClass(object):
|
|||||||
dispatch.skipStep("bootloader", permanent=1)
|
dispatch.skipStep("bootloader", permanent=1)
|
||||||
|
|
||||||
# allow backends to disable interactive package selection
|
# allow backends to disable interactive package selection
|
||||||
if not anaconda.backend.supportsPackageSelection:
|
if not self.showPackageSelection or not anaconda.backend.supportsPackageSelection:
|
||||||
dispatch.skipStep("tasksel", skip = 1, permanent=1)
|
dispatch.skipStep("tasksel", skip = 1, permanent=1)
|
||||||
dispatch.skipStep("group-selection", skip = 1, permanent=1)
|
dispatch.skipStep("group-selection", skip = 1, permanent=1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user