Enable the capability of installing additional packages on SLES.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
dc6419b895
commit
25aaf1ccee
@ -85,17 +85,17 @@ if [[ $OSTYPE = linux* ]]; then
|
||||
fi
|
||||
|
||||
|
||||
#try zypper --- TODO: get a SLES cluster and test
|
||||
#rpm -q zypper
|
||||
#if [ $? -eq 0 ]; then
|
||||
#try zypper
|
||||
rpm -q zypper
|
||||
if [ $? -eq 0 ]; then
|
||||
#use zypper
|
||||
#zypper sa ftp://$SIP/post/otherpkgs/$OSVER/$ARCH/1
|
||||
zypper sa ftp://$SIP/post/otherpkgs/$OSVER/$ARCH/1
|
||||
|
||||
#install
|
||||
#PKGS=`echo "$OTHERPKGS" | tr "," " "`
|
||||
#zypper install -y $PKGS
|
||||
#exit 0
|
||||
#fi
|
||||
PKGS=`echo "$OTHERPKGS" | tr "," " "`
|
||||
zypper install -y $PKGS
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
||||
#if it is not handled by the above code, we will use wget to handle it
|
||||
|
Loading…
Reference in New Issue
Block a user