2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 19:20:24 +00:00

defect4758 updatenode -S generate invalid path in CN sourses.list.d xCAT..path0.list

This commit is contained in:
amy0701
2015-07-23 06:54:10 -04:00
parent 7444165c19
commit 5fcc7aac8e

View File

@@ -700,8 +700,8 @@ elif ( pmatch "$OSVER" "ubuntu*" ); then
result=`echo $dir | grep -E "^http:.*"`
if [ $? -eq 0 ]; then
echo "deb $dir" > "${repoprefix}${repocount}.list"
else
echo "deb http://$NFSSERVER/$dir ./" > "${repoprefix}${repocount}.list"
#else
# echo "deb http://$NFSSERVER/$dir ./" > "${repoprefix}${repocount}.list"
fi
repocount=$(($repocount+1))
done