From f70539c1a907fc4e416c8b60b359dc618690a80a Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Thu, 25 Feb 2016 09:23:25 -0600 Subject: Edgeswitch: not properly closing the connecton Quit fully logs out even when enabled. exit exit did not log out the second one failed. --- lib/oxidized/model/edgeswitch.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/oxidized/model') diff --git a/lib/oxidized/model/edgeswitch.rb b/lib/oxidized/model/edgeswitch.rb index 0777b85..607df6c 100644 --- a/lib/oxidized/model/edgeswitch.rb +++ b/lib/oxidized/model/edgeswitch.rb @@ -18,8 +18,7 @@ class EdgeSwitch < Oxidized::Model cfg :telnet, :ssh do post_login 'enable' post_login 'terminal length 0' - pre_logout 'exit' - pre_logout 'exit' + pre_logout 'quit' end end -- cgit v1.2.1