summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorUwe Werler <uwe.werler@retiolum.eu>2018-03-21 13:20:18 +0000
committerGitHub <noreply@github.com>2018-03-21 13:20:18 +0000
commit0878dd2ef1af0a731a647fc0fc4f3a245a0131a9 (patch)
treeb112d4f27bbd73f2135b0540ff94f9c7fe3ec58f /lib/oxidized/model
parente7075d18e055613cb0324f0fc8eecfe7adeeac56 (diff)
Update nxos.rb
Otherwise the running config will not be stored.
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/nxos.rb1
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