summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Stubbs <colin.stubbs@equatetechnologies.com.au>2016-04-08 20:35:21 +1000
committerColin Stubbs <colin.stubbs@equatetechnologies.com.au>2016-04-08 20:35:21 +1000
commit4961d47d70231de74b2a94b52b8435e612213f5b (patch)
treedbefc9a4b05ea94f8387e17e958af84d452eee30
parentb4477cb07c5b90a734f87a0bdb279bbb14967104 (diff)
Fix for issue 359
-rw-r--r--lib/oxidized/model/tmos.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/oxidized/model/tmos.rb b/lib/oxidized/model/tmos.rb
index abaec9f..3570015 100644
--- a/lib/oxidized/model/tmos.rb
+++ b/lib/oxidized/model/tmos.rb
@@ -10,11 +10,11 @@ class TMOS < Oxidized::Model
cfg
end
- cmd('tmsh show sys version') { |cfg| comment cfg }
+ cmd('tmsh -q show sys version') { |cfg| comment cfg }
- cmd('tmsh show sys software') { |cfg| comment cfg }
+ cmd('tmsh -q show sys software') { |cfg| comment cfg }
- cmd 'tmsh show sys hardware field-fmt' do |cfg|
+ cmd 'tmsh -q show sys hardware field-fmt' do |cfg|
cfg.gsub!(/fan-speed (\S+)/, '')
cfg.gsub!(/temperature (\S+)/, '')
comment cfg