From bc2b213641f8cf18bcfa2bfc51267ab266a51f43 Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 21 May 2021 21:15:11 +0200 Subject: [PATCH] switches/HP-procurve-2824: replace outdated ssh with telnet --- salt/switches/HP-procurve-2824.expect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/switches/HP-procurve-2824.expect b/salt/switches/HP-procurve-2824.expect index 159d28e..e6d5584 100644 --- a/salt/switches/HP-procurve-2824.expect +++ b/salt/switches/HP-procurve-2824.expect @@ -2,7 +2,7 @@ {%- import_yaml "netmasks.yaml" as netmasks -%} #!/usr/bin/expect -f -spawn ssh admin@{{ pillar['hosts-inet']['mgmt'][hostname] }} +spawn telnet {{ pillar['hosts-inet']['mgmt'][hostname] }} expect "password: " send "{{ switch['password'] }}\r" expect "Press any key to continue"