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:
@@ -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
|
||||
|
Reference in New Issue
Block a user