Ignore cdroms in disks grain

This commit is contained in:
Kevin Bowling 2016-05-28 13:19:51 -07:00
parent 8bf0290024
commit e452ec514e

View File

@ -106,6 +106,8 @@ def _freebsd_geom():
tmp[_geomconsts._aliases[attrib]] = value
name = tmp.pop(_geomconsts.GEOMNAME)
if name.startswith('cd'):
return
ret['disks'][name] = tmp
if tmp[_geomconsts.ROTATIONRATE] == 0: