summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2018-04-12 10:09:23 +0300
committerGitHub <noreply@github.com>2018-04-12 10:09:23 +0300
commit79dcc36c71920b74f5fa5fc4fc504f99df0b6ec2 (patch)
tree7371d46f45698849d7b68c4d5d50831745347a9b /lib/oxidized
parent91deea2ef8a7ae5f9ed6b523b720f9cf2c3f33b9 (diff)
parent0bebd8cb9ea83b4933aca702b2734e6597271fec (diff)
Merge pull request #1262 from asenci/fortios_disable_paging
Disable paging for "show full-configuration" on FortiOS
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/model/fortios.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/fortios.rb b/lib/oxidized/model/fortios.rb
index 23370c4..9287dce 100644
--- a/lib/oxidized/model/fortios.rb
+++ b/lib/oxidized/model/fortios.rb
@@ -49,7 +49,7 @@ class FortiOS < Oxidized::Model
cfg << cmd('end') if @vdom_enabled
- cfg << cmd('show full-configuration')
+ cfg << cmd('show full-configuration | grep .')
cfg.join "\n"
end