--- storage/formats/__init__.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/storage/formats/__init__.py b/storage/formats/__init__.py index 93272db..9868257 100644 --- a/storage/formats/__init__.py +++ b/storage/formats/__init__.py @@ -43,10 +43,11 @@ def register_device_format(fmt_class): fmt_class._type)) default_fstypes = ("ext4", "ext3", "ext2") -default_boot_fstypes = ("ext4", "ext3", "ext2") def get_default_filesystem_type(boot=None): + import platform + if boot: - fstypes = default_boot_fstypes + fstypes = [platform.getPlatform(None).bootFSType] else: fstypes = default_fstypes -- 1.6.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list