forked from zentralwerk/network
switches/HP-procurve-2824: replace outdated ssh with telnet
This commit is contained in:
parent
19aea9ef7e
commit
bc2b213641
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue