diff --git a/internal/install/execution/recipe_var_provider.go b/internal/install/execution/recipe_var_provider.go index f1538e554..f9e11ef3b 100644 --- a/internal/install/execution/recipe_var_provider.go +++ b/internal/install/execution/recipe_var_provider.go @@ -227,6 +227,10 @@ func varFromEnv() types.RecipeVars { vars[EnvNriaPassthroughEnvironment] = yamlFromCommaDelimitedString(EnvNriaPassthroughEnvironment, passthroughEnvironment) } + // Installation paths + vars["NRIA_AGENT_DIR"] = os.Getenv("NRIA_AGENT_DIR") + vars["NRIA_PLUGIN_DIR"] = os.Getenv("NRIA_PLUGIN_DIR") + return vars }