From f6ea3147a7d0c9da014bdd936357fdd2553b6d38 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Mon, 4 Nov 2013 23:34:59 -0800 Subject: [PATCH] bug 3824: systeimager install failed on sles10 golden client --- xCAT/postscripts/otherpkgs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xCAT/postscripts/otherpkgs b/xCAT/postscripts/otherpkgs index df609bdb0..21f16d010 100755 --- a/xCAT/postscripts/otherpkgs +++ b/xCAT/postscripts/otherpkgs @@ -682,7 +682,9 @@ while [ $op_index -le $OTHERPKGS_INDEX ]; do if ( pmatch "$OSVER" "sles11*" ); then result=`zypper ar -c $REPOFILE` else - result=`zypper sa -c $REPOFILE` + result=`zypper sa -r $REPOFILE << EOF +y +EOF` fi result=`zypper --non-interactive refresh xcat-otherpkgs$index 2>&1`