Исправлена авторазметка по умолчанию для livecd

master-3.5 3.5.1.2
parent 74cc73cb63
commit 95720642a5

@ -549,9 +549,10 @@ class VariableClAutopartitionSet(Variable):
("off", _("Use the current partitions"))]
def get(self):
if self.Get('os_root_type_ext') in (RootType.LiveCD, RootType.LiveFlash,
RootType.IsoScanFlash,
RootType.NetBoot):
if self.Get('os_root_type_ext') in (RootType.Value.LiveCD,
RootType.Value.LiveFlash,
RootType.Value.IsoScanFlash,
RootType.Value.NetBoot):
return "on"
else:
return "off"

Loading…
Cancel
Save