diff --git a/src/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py b/src/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py index 76d4c1406d3..d8955d307d0 100644 --- a/src/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py +++ b/src/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py @@ -1050,6 +1050,9 @@ def _getPilotOptions(self, queue, **kwargs): pilotOptions.append(f"-Q {self.queueDict[queue]['QueueName']}") # SiteName pilotOptions.append(f"-n {queueDict['Site']}") + # VO + if self.vo: + pilotOptions.append(f"--wnVO={self.vo}") # Generic Options if "GenericOptions" in queueDict: