model: partition_type on Partition
This commit is contained in:
parent
7d6d50d66d
commit
5eacceaf40
|
@ -673,6 +673,7 @@ class Partition(_Formattable):
|
||||||
multipath = attr.ib(default=None)
|
multipath = attr.ib(default=None)
|
||||||
offset = attr.ib(default=None)
|
offset = attr.ib(default=None)
|
||||||
resize = attr.ib(default=None)
|
resize = attr.ib(default=None)
|
||||||
|
partition_type = attr.ib(default=None)
|
||||||
|
|
||||||
def available(self):
|
def available(self):
|
||||||
if self.flag in ['bios_grub', 'prep'] or self.grub_device:
|
if self.flag in ['bios_grub', 'prep'] or self.grub_device:
|
||||||
|
|
Loading…
Reference in New Issue