blob: da51daed570a803c9452a02ec97af0a217acbd1b [file] [log] [blame]
Andrew Jeffery8dfebd82017-03-30 14:56:54 +10301#!/usr/bin/expect -df --
2
3set timeout 300
4
Andrew Jeffery724782e2017-03-30 19:41:09 +10305spawn ssh -p2200 {*}[lrange $argv 0 end]
Andrew Jeffery8dfebd82017-03-30 14:56:54 +10306
7expect {
8 -ex "Petitboot" { exit }
9 timeout { exit 1 }
10 eof { exit 2 }
11 .* { exp_continue }
12}