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"