summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/procurve.rb
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2016-10-31 17:54:47 +0200
committerSaku Ytti <saku@ytti.fi>2016-10-31 17:54:47 +0200
commit98ee2d2fadd56b9efadfc4f9ff667f71f6b22f6c (patch)
treef29af7273b01e8338c55a0d291bd644b97cf05f5 /lib/oxidized/model/procurve.rb
parent0c307da5dfd5c7fa4dfa156694c619ab3b3fa0d3 (diff)
Allow model to specify SSH PTY options
Diffstat (limited to 'lib/oxidized/model/procurve.rb')
-rw-r--r--lib/oxidized/model/procurve.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/oxidized/model/procurve.rb b/lib/oxidized/model/procurve.rb
index da792e6..c117df3 100644
--- a/lib/oxidized/model/procurve.rb
+++ b/lib/oxidized/model/procurve.rb
@@ -57,4 +57,8 @@ class Procurve < Oxidized::Model
pre_logout "logout\ny\nn"
end
+ cfg :ssh do
+ pty_options({ chars_wide: 1000 })
+ end
+
end