Skip to content

Commit 285f8c0

Browse files
committed
fix: added possibility to specify list of CVMFS locations
1 parent 2c273ae commit 285f8c0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,13 +1024,16 @@ def _getPilotOptions(self, queue, **kwargs):
10241024
else:
10251025
self.log.info("DIRAC project will be installed by pilots")
10261026

1027-
# Preinstalled environment defined ?
1027+
# Preinstalled environment or list of CVMFS locations defined ?
10281028
preinstalledEnv = opsHelper.getValue("Pilot/PreinstalledEnv", "")
10291029
preinstalledEnvPrefix = opsHelper.getValue("Pilot/PreinstalledEnvPrefix", "")
1030+
CVMFS_locations = opsHelper.getValue("Pilot/CVMFS_locations", "")
10301031
if preinstalledEnv:
10311032
pilotOptions.append(f"--preinstalledEnv={preinstalledEnv}")
10321033
elif preinstalledEnvPrefix:
10331034
pilotOptions.append(f"--preinstalledEnvPrefix={preinstalledEnvPrefix}")
1035+
elif CVMFS_locations:
1036+
pilotOptions.append(f"--CVMFS_locations={CVMFS_locations}")
10341037

10351038
# Pilot Logging defined?
10361039
if opsHelper.getValue("/Services/JobMonitoring/usePilotsLoggingFlag", False):

0 commit comments

Comments
 (0)