|
|
|
@ -94,6 +94,7 @@ class cl_install(color_print):
|
|
|
|
|
def applyTemplatesForSystem(self):
|
|
|
|
|
"""Apply templates for root of system."""
|
|
|
|
|
self.clVars.Set("cl_root_path","/", True)
|
|
|
|
|
self.clVars.Set("cl_pass_action", "system", True)
|
|
|
|
|
self.clTempl = template(self.clVars)
|
|
|
|
|
dirsFiles = self.clTempl.applyTemplates()
|
|
|
|
|
if self.clTempl.getError():
|
|
|
|
@ -119,7 +120,7 @@ class cl_install(color_print):
|
|
|
|
|
self.printSUCCESS(_("Machine hardware name")+": %s"%
|
|
|
|
|
self.clVars.Get('os_arch_machine'))
|
|
|
|
|
self.printSUCCESS(_("Quantity processors")+": %s(var name)"%
|
|
|
|
|
self.clVars.Get('hr_cpus'))
|
|
|
|
|
self.clVars.Get('hr_cpu_num'))
|
|
|
|
|
self.printSUCCESS(_("Videocard")+": %s"%
|
|
|
|
|
'<needed>')
|
|
|
|
|
self.printSUCCESS(_("Screen resolution")+": %s"%
|
|
|
|
@ -178,6 +179,7 @@ class cl_install(color_print):
|
|
|
|
|
def applyTemplates(self,directory):
|
|
|
|
|
"""Apply templates for root of system."""
|
|
|
|
|
self.clVars.Set("cl_root_path",directory, True)
|
|
|
|
|
self.clVars.Set("cl_pass_action", "system", True)
|
|
|
|
|
self.clTempl = template(self.clVars)
|
|
|
|
|
dirsFiles = self.clTempl.applyTemplates()
|
|
|
|
|
if self.clTempl.getError():
|
|
|
|
|