From 8c0f182158d8a6794a3de1e652d8bab0b2937fb1 Mon Sep 17 00:00:00 2001 From: sjing Date: Wed, 27 Jul 2011 09:19:57 +0000 Subject: [PATCH] call yum with -y flag, call zypper with -n flag git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10169 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-IBMhpc/share/xcat/IBMhpc/rsct/rsct_install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/rsct/rsct_install b/xCAT-IBMhpc/share/xcat/IBMhpc/rsct/rsct_install index 3ab74b890..4dcdd29f7 100755 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/rsct/rsct_install +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/rsct/rsct_install @@ -35,12 +35,12 @@ if [ $OS != "AIX" ]; then # rsct don't need license. So not install and accept the rsct license on the MN # Install RSCT product rpms - INUCLIENTS=1 INUBOSTYPE=1 zypper -R $installroot install $RSCT_DIR/src-*.rpm $RSCT_DIR/rsct.core-*.rpm $RSCT_DIR/rsct.core.utils-*.rpm + INUCLIENTS=1 INUBOSTYPE=1 zypper -n -R $installroot install $RSCT_DIR/src-*.rpm $RSCT_DIR/rsct.core-*.rpm $RSCT_DIR/rsct.core.utils-*.rpm else # For Redhat, etc., assume yum is available on the system running genimage # rsct don't need license. So not install and accept the rsct license on the MN # Install RSCT product rpms - INUCLIENTS=1 INUBOSTYPE=1 yum --installroot $installroot --nogpgcheck install $RSCT_DIR/src-*.rpm $RSCT_DIR/rsct.core-*.rpm $RSCT_DIR/rsct.core.utils-*.rpm + INUCLIENTS=1 INUBOSTYPE=1 yum -y --installroot $installroot --nogpgcheck install $RSCT_DIR/src-*.rpm $RSCT_DIR/rsct.core-*.rpm $RSCT_DIR/rsct.core.utils-*.rpm fi fi