diff options
author | Uwe Werler <uwe.werler@retiolum.eu> | 2018-03-21 13:20:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-21 13:20:18 +0000 |
commit | 0878dd2ef1af0a731a647fc0fc4f3a245a0131a9 (patch) | |
tree | b112d4f27bbd73f2135b0540ff94f9c7fe3ec58f | |
parent | e7075d18e055613cb0324f0fc8eecfe7adeeac56 (diff) |
Update nxos.rb
Otherwise the running config will not be stored.
-rw-r--r-- | lib/oxidized/model/nxos.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |