Исправление проверки установки PXE

master3.3
Mike khiretskiy 11 years ago
parent 99fe83462a
commit 51917f8ee0

@ -170,7 +170,7 @@ class VariableClInstallHomeCryptSet(UserHelper,Variable):
untrusted = True
def init(self):
self.help = _("Encrypt user profiles")
self.help = _("encrypt user profiles")
self.label = _("Encrypt user profiles")
def get(self):
@ -564,12 +564,13 @@ class VariableClLive(Variable):
self.label = _("Configure dynamic options only")
self.help = _("configure dynamic options only")
class VariableOsInstallPxe(ReadonlyVariable):
class VariableOsInstallPxe(Variable):
"""
Installation for PXE loading
"""
type = "boot"
value = "off"
untrusted = True
def check(self,value):
if value == "on":

@ -138,9 +138,13 @@ class Wsdl(WsdlBase):
'datavars':"install",
'native_error':(VariableError,DistributiveError,
DataVarsError,install.InstallError),
'setvars':{'cl_action!':'system','os_install_pxe!':'on',
'setvars':{'cl_action!':'system','os_install_pxe':'on',
'cl_protect_use_set!':'off',
'cl_dispatch_conf':'usenew'},
# действие выводит информацию перед запуском
'brief':{'next':__("Installation"),
'image':'finish',
'name':__("Start installing")},
'groups':[
lambda group:group(_("PXE install"),
normal=('cl_image_filename',),

Loading…
Cancel
Save