diff options
author | Wild Kat <wk@users.noreply.github.com> | 2018-06-14 22:06:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-14 22:06:33 +0200 |
commit | 38d5893b83d0a9cf798813d32e27233615e5fb56 (patch) | |
tree | 402e49347ba1ed96531791c89b133a822155d3af /lib | |
parent | 8534b50c822b8c7e0b2974ede2e28ae352d4b269 (diff) |
scrub temperature from 'show system' in edgecos, closes #1394 (#1399)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/model/edgecos.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/edgecos.rb b/lib/oxidized/model/edgecos.rb index e92686c..8c69d71 100644 --- a/lib/oxidized/model/edgecos.rb +++ b/lib/oxidized/model/edgecos.rb @@ -15,6 +15,7 @@ class EdgeCOS < Oxidized::Model cmd 'show system' do |cfg| cfg.gsub! /^\s*System Up Time\s*:.*\n/i, '' + cfg.gsub! /^\s*(Temperature \d*:).*\n/i, '\\1 <removed>' comment cfg end |