From 134a606a66f67f4aeb431a788399e1a3b1aacb6f Mon Sep 17 00:00:00 2001 From: Alexis Koralewski Date: Thu, 8 Sep 2022 15:12:28 +0200 Subject: [PATCH] add agent triton in pyros.py --- pyros.py | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/pyros.py b/pyros.py index 2add563..c7e0401 100755 --- a/pyros.py +++ b/pyros.py @@ -80,6 +80,7 @@ AGENTS = { "alert_manager": "alert_manager", "agentImagesProcessor_tnc_up1": "../../../privatedev/plugin/agent", "agentBasic": "agent", + "agentTriton": "agent", } # AGENTS = ["agentX", "webserver", "monitoring", "majordome", "scheduler", "alert_manager"] # AGENTS = ["all", "webserver", "monitoring", "majordome", "scheduler", "alert"] @@ -469,6 +470,8 @@ def pyros_launcher(debug, sim, test, verbose): @pyros_launcher.command(help="Run a pyros shell (django included)") # @global_test_options def shell(): + os.environ["PATH_TO_OBSCONF_FILE"] = os.path.join(os.path.abspath( + PYROS_DJANGO_BASE_DIR), "obsconfig/fixtures/observatory_configuration_ok_simple.yml") print("Execution commande shell") print("NAME IS", __name__) print() -- libgit2 0.21.2