diff --git a/Pilot/pilotCommands.py b/Pilot/pilotCommands.py index 91617592..63c116d5 100644 --- a/Pilot/pilotCommands.py +++ b/Pilot/pilotCommands.py @@ -610,6 +610,8 @@ def _getBasicsCFG(self): if self.pp.userDN: self.cfg.append('-o /AgentJobRequirements/OwnerDN="%s"' % self.pp.userDN) self.cfg.append("-o /LocalSite/ReleaseVersion=%s" % self.releaseVersion) + # add the installation locations + self.cfg.append("-o /LocalSite/CVMFS_locations=%s" % ",".join(self.pp.CVMFS_locations)) if self.pp.wnVO: self.cfg.append('-o "/Resources/Computing/CEDefaults/VirtualOrganization=%s"' % self.pp.wnVO) @@ -940,6 +942,10 @@ def execute(self): localArchitecture = localArchitecture.strip().split("\n")[-1].strip() cfg.append('-S "%s"' % self.pp.setup) cfg.append("-o /LocalSite/Architecture=%s" % localArchitecture) + + # add the local platform as determined by the platform module + localPlatform = platform.system() + "-" + platform.machine() + cfg.append("-o /LocalSite/Platform=%s" % localPlatform) configureCmd = "%s %s" % (self.pp.configureScript, " ".join(cfg)) retCode, _configureOutData = self.executeAndGetOutput(configureCmd, self.pp.installEnv)