From be12fc017135afd7c8ea761be3574fcd7288a8fb Mon Sep 17 00:00:00 2001 From: Grant Date: Tue, 15 Oct 2024 11:56:55 -0500 Subject: [PATCH] control: add "please install helm" --- src/warnet/control.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/warnet/control.py b/src/warnet/control.py index b907f7449..50eda91f8 100644 --- a/src/warnet/control.py +++ b/src/warnet/control.py @@ -371,6 +371,10 @@ def filter(path): print(f"Failed to deploy scenario commander: {scenario_name}") print(f"Error: {e.stderr}") return None + except FileNotFoundError as e: + click.secho(e) + click.secho("Please install Helm, or run `warnet setup`.", fg="red") + return None # upload scenario files and network data to the init container wait_for_init(name, namespace=namespace)