summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hilliard <nick@foobar.org>2015-09-26 23:00:36 +0100
committerNick Hilliard <nick@foobar.org>2015-09-26 23:00:36 +0100
commitb39e3ff9bf9cf53a82671c06df0e814078c69035 (patch)
tree95b7e8ba00726292346ace7155fd12395ac43372
parent576a0b1df455d14f4bde0d21c63a1a498248e485 (diff)
some ironware devices are fixed config => no modules
-rw-r--r--lib/oxidized/model/ironware.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/ironware.rb b/lib/oxidized/model/ironware.rb
index 805e07b..f0c187b 100644
--- a/lib/oxidized/model/ironware.rb
+++ b/lib/oxidized/model/ironware.rb
@@ -55,6 +55,7 @@ class IronWare < Oxidized::Model
end
cmd 'show module' do |cfg|
+ cfg.gsub! /^((Invalid input)|(Type \?)).*$/, '' # some ironware devices are fixed config
comment cfg
end