From ff81d9a73f78677ae7dc19373d1652797a11be8f Mon Sep 17 00:00:00 2001 From: MrRJ45 Date: Mon, 27 Jun 2016 11:04:12 +0100 Subject: Update edgeswitch.rb Fix user prompt on some versions (Only "User:" at the prompt, with no spaces --- lib/oxidized/model/edgeswitch.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/oxidized') diff --git a/lib/oxidized/model/edgeswitch.rb b/lib/oxidized/model/edgeswitch.rb index 7c82639..7f5b1ea 100644 --- a/lib/oxidized/model/edgeswitch.rb +++ b/lib/oxidized/model/edgeswitch.rb @@ -11,8 +11,8 @@ class EdgeSwitch < Oxidized::Model end cfg :telnet do - username /Username:\s/ - password /^Password:\s/ + username /User(name)?:\s?/ + password /^Password:\s?/ end cfg :telnet, :ssh do -- cgit v1.2.1