mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Ignore cdroms in disks grain
This commit is contained in:
parent
8bf0290024
commit
e452ec514e
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue