From 403c5b399a94167b0850ec906eaac39bbd40faee Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Thu, 20 Nov 2008 09:34:03 +0000 Subject: [PATCH] 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 --- xCAT-server/sbin/lpar_netboot.expect | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/sbin/lpar_netboot.expect b/xCAT-server/sbin/lpar_netboot.expect index 2b7b14357..50d9f94a4 100644 --- a/xCAT-server/sbin/lpar_netboot.expect +++ b/xCAT-server/sbin/lpar_netboot.expect @@ -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)