|
|
|
@ -828,10 +828,25 @@ class cl_install(color_print, SignalInterrupt):
|
|
|
|
|
self.clVars.Get('os_install_locale_xkbname'))
|
|
|
|
|
self.printSUCCESS(_("Timezone")+": %s"%
|
|
|
|
|
self.clVars.Get('os_install_clock_timezone'))
|
|
|
|
|
|
|
|
|
|
#self.defaultPrint("%s\n"%_("Location"))
|
|
|
|
|
|
|
|
|
|
self.defaultPrint("%s\n"%_("Location"))
|
|
|
|
|
mbrDevice = self.clVars.Get('os_install_mbr')
|
|
|
|
|
addonMbrInfo = ""
|
|
|
|
|
if not mbrDevice in ("","off"):
|
|
|
|
|
pathVendor = "/sys/block/%s/device/vendor"%mbrDevice
|
|
|
|
|
pathModel = "/sys/block/%s/device/model"%mbrDevice
|
|
|
|
|
if path.exists(pathVendor) and path.exists(pathModel):
|
|
|
|
|
addonMbrInfo = " (%s %s)"% \
|
|
|
|
|
(open(pathVendor,'r').read().strip(),
|
|
|
|
|
open(pathModel,'r').read().strip())
|
|
|
|
|
self.printSUCCESS(_("Master boot record")+" (MBR): /dev/%s%s"%
|
|
|
|
|
(self.clVars.Get('os_install_mbr'),addonMbrInfo))
|
|
|
|
|
else:
|
|
|
|
|
self.printSUCCESS(_("Master boot record")+
|
|
|
|
|
" (MBR): %s"%_("not changed"))
|
|
|
|
|
|
|
|
|
|
title, headerList, dataList = self.generateTableData()
|
|
|
|
|
tableObj = tableReport(title, headerList, dataList)
|
|
|
|
|
tableObj = tableReport("", headerList, dataList)
|
|
|
|
|
tableObj.printReport(False)
|
|
|
|
|
title, headerList, dataList = self.generateTableBindData()
|
|
|
|
|
if dataList:
|
|
|
|
|