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
This commit is contained in:
parent
3352c3a5a7
commit
8c0f182158
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user