From ab66bc439041d592b79c4a9223b2976822f48aa9 Mon Sep 17 00:00:00 2001 From: Enric Tejedor Saavedra Date: Mon, 11 Dec 2023 14:19:33 +0100 Subject: [PATCH] Add NB_USER variable to properly configure the user in the Alma9 image --- SwanSpawner/swanspawner/swanspawner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/SwanSpawner/swanspawner/swanspawner.py b/SwanSpawner/swanspawner/swanspawner.py index ddd818d..badfe38 100644 --- a/SwanSpawner/swanspawner/swanspawner.py +++ b/SwanSpawner/swanspawner/swanspawner.py @@ -111,6 +111,7 @@ def get_env(self): USER_ENV_SCRIPT = self.user_options[self.user_script_env_field], ROOT_LCG_VIEW_PATH = self.lcg_view_path, USER = username, + NB_USER = username, USER_ID = self.user_uid, NB_UID = self.user_uid, HOME = homepath,