|
|
@ -353,7 +353,7 @@ class VariableClAutologin(UserHelper,Variable):
|
|
|
|
_("The autologin is not available with domain workstations")
|
|
|
|
_("The autologin is not available with domain workstations")
|
|
|
|
except DataVarsError:
|
|
|
|
except DataVarsError:
|
|
|
|
pass
|
|
|
|
pass
|
|
|
|
return ""
|
|
|
|
return UserHelper.uncompatible(self)
|
|
|
|
|
|
|
|
|
|
|
|
class VariableClInstallAutoupdateSet(Variable):
|
|
|
|
class VariableClInstallAutoupdateSet(Variable):
|
|
|
|
"""
|
|
|
|
"""
|
|
|
@ -662,13 +662,25 @@ class VariableOsInstallUefiSet(Variable):
|
|
|
|
|
|
|
|
|
|
|
|
def uncompatible(self):
|
|
|
|
def uncompatible(self):
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
Network setting up unavailable for flash installation
|
|
|
|
Uncompatible with autopartition
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
if self.Get('cl_autopartition_set') == "on":
|
|
|
|
if self.Get('cl_autopartition_set') == "on":
|
|
|
|
return \
|
|
|
|
return \
|
|
|
|
_("The layout is not available with autopartitioning")
|
|
|
|
_("The layout is not available with autopartitioning")
|
|
|
|
|
|
|
|
if self.Get('os_install_root_type') == 'flash':
|
|
|
|
|
|
|
|
return \
|
|
|
|
|
|
|
|
_("This option not used for Flash install")
|
|
|
|
return ""
|
|
|
|
return ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class VariableOsInstallUefiBriefSet(VariableOsInstallUefiSet):
|
|
|
|
|
|
|
|
def uncompatible(self):
|
|
|
|
|
|
|
|
if self.Get('os_install_root_type') == 'flash':
|
|
|
|
|
|
|
|
return _("This option not used for Flash install")
|
|
|
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def get(self):
|
|
|
|
|
|
|
|
return self.Get('os_install_uefi_set')
|
|
|
|
|
|
|
|
|
|
|
|
class VariableOsInstallGrubTerminal(Variable):
|
|
|
|
class VariableOsInstallGrubTerminal(Variable):
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
Gfxmode
|
|
|
|
Gfxmode
|
|
|
@ -759,35 +771,35 @@ class FlashUncompatible:
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
import calculate.update.variables.update as update
|
|
|
|
import calculate.update.variables.update as update
|
|
|
|
|
|
|
|
|
|
|
|
class VariableClInstallAutocheckSet(update.VariableClUpdateAutocheckSet,
|
|
|
|
class VariableClInstallAutocheckSet(FlashUncompatible,
|
|
|
|
FlashUncompatible):
|
|
|
|
update.VariableClUpdateAutocheckSet):
|
|
|
|
def get(self):
|
|
|
|
def get(self):
|
|
|
|
return self.Get('update.cl_update_autocheck_set')
|
|
|
|
return self.Get('update.cl_update_autocheck_set')
|
|
|
|
|
|
|
|
|
|
|
|
class VariableClInstallAutocheckInterval(
|
|
|
|
class VariableClInstallAutocheckInterval(FlashUncompatible,
|
|
|
|
update.VariableClUpdateAutocheckInterval, FlashUncompatible):
|
|
|
|
update.VariableClUpdateAutocheckInterval):
|
|
|
|
def get(self):
|
|
|
|
def get(self):
|
|
|
|
return self.Get('update.cl_update_autocheck_interval')
|
|
|
|
return self.Get('update.cl_update_autocheck_interval')
|
|
|
|
|
|
|
|
|
|
|
|
class VariableClInstallCleanpkgSet(
|
|
|
|
class VariableClInstallCleanpkgSet(FlashUncompatible,
|
|
|
|
update.VariableClUpdateCleanpkgSet, FlashUncompatible):
|
|
|
|
update.VariableClUpdateCleanpkgSet):
|
|
|
|
def get(self):
|
|
|
|
def get(self):
|
|
|
|
return self.Get('update.cl_update_cleanpkg_set')
|
|
|
|
return self.Get('update.cl_update_cleanpkg_set')
|
|
|
|
|
|
|
|
|
|
|
|
class VariableClInstallOtherSet(
|
|
|
|
class VariableClInstallOtherSet(FlashUncompatible,
|
|
|
|
update.VariableClUpdateOtherSet, FlashUncompatible):
|
|
|
|
update.VariableClUpdateOtherSet):
|
|
|
|
def get(self):
|
|
|
|
def get(self):
|
|
|
|
return self.Get('update.cl_update_other_set')
|
|
|
|
return self.Get('update.cl_update_other_set')
|
|
|
|
|
|
|
|
|
|
|
|
except ImportError:
|
|
|
|
except ImportError:
|
|
|
|
class VariableClInstallAutocheckSet(Variable, FlashUncompatible):
|
|
|
|
class VariableClInstallAutocheckSet(FlashUncompatible, Variable):
|
|
|
|
value = "off"
|
|
|
|
value = "off"
|
|
|
|
|
|
|
|
|
|
|
|
class VariableClInstallAutocheckInterval(Variable, FlashUncompatible):
|
|
|
|
class VariableClInstallAutocheckInterval(FlashUncompatible, Variable):
|
|
|
|
value = ""
|
|
|
|
value = ""
|
|
|
|
|
|
|
|
|
|
|
|
class VariableClInstallCleanpkgSet(Variable, FlashUncompatible):
|
|
|
|
class VariableClInstallCleanpkgSet(FlashUncompatible, Variable):
|
|
|
|
value = "off"
|
|
|
|
value = "off"
|
|
|
|
|
|
|
|
|
|
|
|
class VariableClInstallOtherSet(Variable, FlashUncompatible):
|
|
|
|
class VariableClInstallOtherSet(FlashUncompatible, Variable):
|
|
|
|
value = "off"
|
|
|
|
value = "off"
|
|
|
|