fix:...
This commit is contained in:
@@ -46,7 +46,10 @@ if [ -n "${latest_tar_file}" ]; then
|
||||
expect <<EOF
|
||||
spawn scp ${latest_tar_file} agtuser@${server_ip_205}:${tars_rel_dir_205}
|
||||
expect {
|
||||
"yes/no" { send "yes\n"; exp_continue }
|
||||
"yes/no" {
|
||||
send "yes\n"
|
||||
exp_continue
|
||||
}
|
||||
"password:" { send "$passwd\n" }
|
||||
}
|
||||
expect eof
|
||||
@@ -57,7 +60,10 @@ if [ -f "${quickstart_file}" ]; then
|
||||
expect <<EOF
|
||||
spawn scp ${quickstart_file} agtuser@${server_ip_205}:${wfc_rel_dir_205}
|
||||
expect {
|
||||
"yes/no" { send "yes\n"; exp_continue }
|
||||
"yes/no" {
|
||||
send "yes\n"
|
||||
exp_continue
|
||||
}
|
||||
"password:" { send "$passwd\n" }
|
||||
}
|
||||
expect eof
|
||||
|
||||
Reference in New Issue
Block a user