diff options
author | ytti <saku@ytti.fi> | 2016-05-25 15:18:02 +0300 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2016-05-25 15:18:02 +0300 |
commit | 38e119f714f0fc22b6556eec7bff5870505ba15f (patch) | |
tree | a8b8756053e4d1fa6af31744c9e618b6addee719 /lib | |
parent | 68a0517b83459c16da4e2c4e21fb39c5b1382f38 (diff) | |
parent | 18be79349a675a802ae0aaae0e79751c47c51a19 (diff) |
Merge pull request #389 from PANZERBARON/master
Add 'nomore' to NOS model for sh run command
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/model/nos.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/nos.rb b/lib/oxidized/model/nos.rb index bd2cb0f..f71420b 100644 --- a/lib/oxidized/model/nos.rb +++ b/lib/oxidized/model/nos.rb @@ -29,7 +29,7 @@ class NOS < Oxidized::Model comment cfg.each_line.reject { |line| line.match /Time/ or line.match /speed/ } end - cmd 'show running-config' + cmd 'show running-config | nomore' cfg :telnet do username /^.* login: / |