Fixed bug 3137682 that getmacs fails on a new lpar for the first time

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8430 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2010-12-16 03:08:49 +00:00
parent f4d2c81700
commit 07064d4ee1

View File

@ -2355,6 +2355,17 @@ while { ! $done } {
set done 1
continue
}
set timeout 1
expect {
-i $spawn_id_rconsole
-re "(.*)elect this consol(.*)" {
nc_msg "$PROGRAM Status: selecting active console\n"
set command "0"
send_command
}
}
incr query_count
if { $query_count > 300 } {