mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Ignore cdroms in disks grain
This commit is contained in:
parent
8bf0290024
commit
e452ec514e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user