Исправлен список устройств для установки mbr

master-3.5
parent b09e4e3dfa
commit a62401e819

@ -2081,11 +2081,10 @@ class VariableOsInstallMbr(LocationHelper, Variable):
return sorted(set(bootdevices))
def choice(self):
deviceParentMap = dict(self.ZipVars('os_device_dev', 'os_device_name'))
return map(lambda x: (x, "%s (%s)" % (x,
deviceParentMap.get(x, _(
"Unknown")))),
self.Get('os_device_dev'))
deviceParentMap = self.ZipVars('os_device_mbr', 'os_device_name')
return [(mbrdisk, name or _("Unknown"))
for mbrdisk, name in deviceParentMap
if mbrdisk]
def set(self, value):
# support off value

Loading…
Cancel
Save