From 00d18d441d8d5e903f244a59d63c5d3e0de4fe8d Mon Sep 17 00:00:00 2001 From: Tucker Beck Date: Fri, 3 May 2024 13:40:12 -0700 Subject: [PATCH] Trying to fix jobbergate install command --- image_factory/builder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/image_factory/builder.py b/image_factory/builder.py index b3f75d2..719b604 100644 --- a/image_factory/builder.py +++ b/image_factory/builder.py @@ -103,8 +103,8 @@ def democluster( print("Kicking off packer build in LXD container.") command = ["make", stage.value] if jg_version := os.getenv("JG_VERSION"): - command = ["JG_VERSION={jg_version}"] + command - print("Using command {command}") + command = [f"JG_VERSION={jg_version}"] + command + print(f"Using command {command}") lxc.exec( command=command, cwd="/srv/image-factory/democluster",