[fstab] work on #797 and #796

This commit is contained in:
Philip 2017-09-12 07:48:29 -04:00
parent 39d73e1882
commit 084a7ea651

View File

@ -225,7 +225,7 @@ class FstabGenerator(object):
def generate_fstab_line_info(self, partition):
""" Generates information for each fstab entry. """
filesystem = partition["fs"].lower()
filesystem = partition["fs"].lower().strip("-")
has_luks = "luksMapperName" in partition
mount_point = partition["mountPoint"]
disk_name = disk_name_for_partition(partition)