Fixed the issue lpar_netboot.expect timeout on IVM controlled systems

Defect [2316981] : https://sourceforge.net/tracker/index.php?func=detail&aid=2316981&group_id=208749&atid=1006945

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2008-11-20 09:34:03 +00:00
parent 14856756e3
commit 403c5b399a

View File

@ -1612,6 +1612,7 @@ proc boot_network {} {
send_command
expect {
-i $spawn_id_rconsole
-nocase
-re $pattern($state) {
nc_msg $msg($state)
set state $newstate($state)
@ -1669,6 +1670,7 @@ proc Boot {} {
set rc 5
return
}
-nocase
-re {!([0-9A-F]+)} {
send_user "$PROGRAM: The network boot ended in an error.\n"
nc_msg $expect_out(buffer)