2
0
This commit is contained in:
zhangsz
2025-02-27 10:42:59 +08:00
parent 8119e2f273
commit c94e56a083

View File

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