changed get_mount_facts to ignore mount types 'none'

reviewable/pr18780/r1
Toshaan Bharvani 12 years ago
parent abfb76b415
commit bf6bd10797

@ -547,6 +547,7 @@ class LinuxHardware(Hardware):
for line in mtab.split('\n'):
if line.startswith('/'):
fields = line.rstrip('\n').split()
if(fields[2] != 'none'):
statvfs_result = os.statvfs(fields[1])
self.facts['mounts'].append(
{'mount': fields[1],

Loading…
Cancel
Save