

def GetPreferredFilesystemType(self):
    (_, version, _) = platform.linux_distribution()
    if _.startswith('7'):
        return 'xfs'
    return 'ext4'

dataset/ETHPy150Open GoogleCloudPlatform/compute-image-packages/legacy/gcimagebundle/gcimagebundlelib/rhel.py RHEL.GetPreferredFilesystemType/VarMisuse@25/31 `version`->`_`