From 0878dd2ef1af0a731a647fc0fc4f3a245a0131a9 Mon Sep 17 00:00:00 2001 From: Uwe Werler Date: Wed, 21 Mar 2018 13:20:18 +0000 Subject: Update nxos.rb Otherwise the running config will not be stored. --- lib/oxidized/model/nxos.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/oxidized/model/nxos.rb b/lib/oxidized/model/nxos.rb index e743415..60d6037 100644 --- a/lib/oxidized/model/nxos.rb +++ b/lib/oxidized/model/nxos.rb @@ -22,6 +22,7 @@ class NXOS < Oxidized::Model cmd 'show running-config' do |cfg| cfg.gsub! /^!Time:[^\n]*\n/, '' + cfg end cfg :ssh, :telnet do -- cgit v1.2.1