From b39e3ff9bf9cf53a82671c06df0e814078c69035 Mon Sep 17 00:00:00 2001 From: Nick Hilliard Date: Sat, 26 Sep 2015 23:00:36 +0100 Subject: some ironware devices are fixed config => no modules --- lib/oxidized/model/ironware.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/oxidized/model') 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 -- cgit v1.2.1