From 6f2da873140359a598fda47c13a963a0d9d290cb Mon Sep 17 00:00:00 2001 From: Paul Beers Date: Fri, 9 Jun 2017 13:45:13 +0200 Subject: Removed bytes from show flash --- lib/oxidized/model/ironware.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/oxidized/model/ironware.rb b/lib/oxidized/model/ironware.rb index ee45e32..af8d19e 100644 --- a/lib/oxidized/model/ironware.rb +++ b/lib/oxidized/model/ironware.rb @@ -52,6 +52,7 @@ class IronWare < Oxidized::Model end cmd 'show flash' do |cfg| + cfg.gsub! /(\d+) bytes/, '' # Fix for ADX flash size comment cfg end -- cgit v1.2.1