switches/HP-procurve-2824: replace outdated ssh with telnet

This commit is contained in:
Astro 2021-05-21 21:15:11 +02:00
parent 19aea9ef7e
commit bc2b213641
1 changed files with 1 additions and 1 deletions

View File

@ -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"