From 79acb7587f9f8fca88a4debfb243a802e4f140d0 Mon Sep 17 00:00:00 2001 From: Federico Stagni Date: Tue, 30 Apr 2024 17:08:30 +0200 Subject: [PATCH] feat: add a generic script to run DIRAC commands inside a apptainer container --- setup.cfg | 1 + src/DIRAC/Core/scripts/dirac_apptainer_exec.py | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/setup.cfg b/setup.cfg index 29a53b6092a..ff1da6bb420 100644 --- a/setup.cfg +++ b/setup.cfg @@ -117,6 +117,7 @@ console_scripts = dirac-configuration-shell = DIRAC.ConfigurationSystem.scripts.dirac_configuration_shell:main [admin] # Core dirac-agent = DIRAC.Core.scripts.dirac_agent:main [server,pilot] + dirac-apptainer-exec = DIRAC.Core.scripts.dirac_apptainer_exec:main [server,pilot] dirac-configure = DIRAC.Core.scripts.dirac_configure:main dirac-executor = DIRAC.Core.scripts.dirac_executor:main [server] dirac-info = DIRAC.Core.scripts.dirac_info:main diff --git a/src/DIRAC/Core/scripts/dirac_apptainer_exec.py b/src/DIRAC/Core/scripts/dirac_apptainer_exec.py index c8dcf71d32a..2287cafa67c 100644 --- a/src/DIRAC/Core/scripts/dirac_apptainer_exec.py +++ b/src/DIRAC/Core/scripts/dirac_apptainer_exec.py @@ -22,7 +22,11 @@ echo "Finishing inner container wrapper scripts at `date`." """ +<<<<<<< HEAD CONTAINER_DEFROOT = "/cvmfs/dirac.egi.eu/container/apptainer/alma9/x86_64" +======= +CONTAINER_DEFROOT = "/cvmfs/cernvm-prod.cern.ch/cvm4" +>>>>>>> 7743c8ad7 (feat: add a generic script to run DIRAC commands inside a apptainer container) def getEnv():