|
|
|
@ -64,8 +64,6 @@ class fillVars(object, glob_attr):
|
|
|
|
|
|
|
|
|
|
def get_cl_install_merge_action(self):
|
|
|
|
|
"""Need perform templates for install:merge or install:unmerge"""
|
|
|
|
|
if self.Get('cl_assemble_prepare_action') != "":
|
|
|
|
|
return ""
|
|
|
|
|
actionsMap = {'merge':'up',
|
|
|
|
|
'system':'up'}
|
|
|
|
|
cl_action = self.Get('cl_action')
|
|
|
|
@ -76,8 +74,6 @@ class fillVars(object, glob_attr):
|
|
|
|
|
|
|
|
|
|
def get_cl_install_system_action(self):
|
|
|
|
|
"""Need perform templates for install:system"""
|
|
|
|
|
if self.Get('cl_assemble_prepare_action') != "":
|
|
|
|
|
return ""
|
|
|
|
|
if self.Get('cl_action') == 'system' and \
|
|
|
|
|
self.Get('os_install_root_type') != "flash":
|
|
|
|
|
return "up"
|
|
|
|
@ -92,20 +88,6 @@ class fillVars(object, glob_attr):
|
|
|
|
|
return "up"
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
|
|
def get_cl_install_scratch_action(self):
|
|
|
|
|
"""Need perform templates for install:system"""
|
|
|
|
|
if self.Get('cl_assemble_prepare_action') != "":
|
|
|
|
|
return ""
|
|
|
|
|
if self.Get('cl_action') in ('system','merge') and \
|
|
|
|
|
self.Get('os_install_scratch') == "on":
|
|
|
|
|
return "up"
|
|
|
|
|
else:
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
|
|
def get_cl_assemble_prepare_action(self):
|
|
|
|
|
"""Need perform templates for assemble:prepare"""
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
|
|
def get_os_net_interfaces_info(self):
|
|
|
|
|
"""Информация о существующих сетевых интерфейсах"""
|
|
|
|
|
netInterfaces=self.Get("os_net_interfaces")
|
|
|
|
|