fixed bug 3259, remove the old yum repo before addsiteyum
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
f6317b80b5
commit
f39a45518e
@ -9,6 +9,7 @@ do
|
||||
if [ ! -r "$i" ]; then
|
||||
continue
|
||||
fi
|
||||
rm -rf /etc/yum.repos.d/*
|
||||
TARGFILE=`basename $i`
|
||||
TARGFILE=`echo $TARGFILE|sed -e s/.tmpl$/.repo/`
|
||||
sed -e s!#INSTSERVER#!$MASTER! $i > /etc/yum.repos.d/$TARGFILE
|
||||
|
Loading…
Reference in New Issue
Block a user