diff --git a/bundles/smartd/metadata.py b/bundles/smartd/metadata.py index fca64eb..3ccd720 100644 --- a/bundles/smartd/metadata.py +++ b/bundles/smartd/metadata.py @@ -1,3 +1,5 @@ +from re import search + defaults = { 'apt': { 'packages': { @@ -53,6 +55,9 @@ def zfs_disks_to_metadata(metadata): continue for disk in option['devices']: + if search(r'p([0-9]+)$', disk): + continue + disks.add(disk) return {