diff --git a/pkg/slurm/prepare.go b/pkg/slurm/prepare.go index cb34311..6f9208c 100644 --- a/pkg/slurm/prepare.go +++ b/pkg/slurm/prepare.go @@ -191,7 +191,7 @@ func createEnvFile(Ctx context.Context, config SlurmConfig, podData commonIL.Ret // For debugging purpose only envs_data := []string{} - envfilePath := (config.DataRootFolder + podData.Pod.Namespace + "-" + string(podData.Pod.UID) + "/" + "envfile.properties") + envfilePath := (config.DataRootFolder + podData.Pod.Namespace + "-" + string(podData.Pod.UID) + "/" + container.Name + "_envfile.properties") log.G(Ctx).Info("-- Appending envs using envfile " + envfilePath) envs = append(envs, "--env-file") envs = append(envs, envfilePath)