File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change 1
- if [ "$CVMFS_HTTP_PROXY" = "DIRECT" ] || [ "$CVMFS_HTTP_PROXY" = "auto;DIRECT" ]; then
2
- CVMFS_SERVER_URL="http://s1bnl-cvmfs.openhtc.io/cvmfs/@fqrn@;http://s1fnal-cvmfs.openhtc.io/cvmfs/@fqrn@;http://s1osggoc-cvmfs.openhtc.io/cvmfs/@fqrn@"
1
+ # Other than setting the CVMFS_SERVER_URL, this file copies the logic from
2
+ # common.conf in the configuration repository
3
+
4
+ if [ "$CVMFS_CLIENT_PROFILE" = "single" ]; then
5
+ if [ "$CVMFS_HTTP_PROXY" = "" ]; then
6
+ CVMFS_HTTP_PROXY="auto;DIRECT"
7
+ fi
8
+ fi
9
+
10
+ if [ -z "$CVMFS_USE_CDN" ]; then
11
+ if [ "$CVMFS_HTTP_PROXY" = "DIRECT" ] || [ "$CVMFS_HTTP_PROXY" = "auto;DIRECT" ]; then
12
+ CVMFS_USE_CDN=yes
13
+ fi
14
+ fi
15
+
16
+ if [ "$CVMFS_USE_CDN" = "yes" ] || [ "$CVMFS_CLIENT_PROFILE" = "custom" ]; then
3
17
CVMFS_FALLBACK_PROXY=""
18
+ fi
19
+
20
+ ####
21
+
22
+ if [ "$CVMFS_USE_CDN" = "yes" ]; then
23
+ CVMFS_SERVER_URL="http://s1bnl-cvmfs.openhtc.io/cvmfs/@fqrn@;http://s1fnal-cvmfs.openhtc.io/cvmfs/@fqrn@;http://s1osggoc-cvmfs.openhtc.io/cvmfs/@fqrn@"
4
24
else
5
25
CVMFS_SERVER_URL="http://cvmfs-s1bnl.opensciencegrid.org:8000/cvmfs/@fqrn@;http://cvmfs-s1fnal.opensciencegrid.org:8000/cvmfs/@fqrn@;http://cvmfs-s1goc.opensciencegrid.org:8000/cvmfs/@fqrn@"
6
26
fi
You can’t perform that action at this time.
0 commit comments