Skip to content

Commit

Permalink
Filter disks by wwid
Browse files Browse the repository at this point in the history
  • Loading branch information
kvaps committed Oct 7, 2024
1 parent b799b23 commit 0086cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/talm/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{{- define "talm.discovered.disks_info" }}
# -- Discovered disks:
{{- range .Disks }}
{{- if not (regexMatch "^/dev/(zd|drbd)" .device_name) }}
{{- if .wwid }}
# {{ .device_name }}:
# model: {{ .model }}
# serial: {{ .serial }}
Expand Down

0 comments on commit 0086cce

Please sign in to comment.