summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMrRJ45 <couton@gmail.com>2016-06-27 11:04:12 +0100
committerGitHub <noreply@github.com>2016-06-27 11:04:12 +0100
commitff81d9a73f78677ae7dc19373d1652797a11be8f (patch)
treefd599d37dc8b2c665fd043e1fb5a63fa7af3f921
parent3932679b86113dcc496575b144cb797eb0c29599 (diff)
Update edgeswitch.rb
Fix user prompt on some versions (Only "User:" at the prompt, with no spaces
-rw-r--r--lib/oxidized/model/edgeswitch.rb4
1 files changed, 2 insertions, 2 deletions
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