From 31c310c6e076720b6cba3a6be44ba56f9780bbc6 Mon Sep 17 00:00:00 2001 From: Mathieu Broillet Date: Mon, 12 Jun 2023 22:04:22 +0200 Subject: [PATCH] fixed wrong dict name for creation step --- src/utils/creation_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/creation_utils.py b/src/utils/creation_utils.py index 9dd77da..0f375c8 100644 --- a/src/utils/creation_utils.py +++ b/src/utils/creation_utils.py @@ -74,14 +74,14 @@ def run_steps(lxc): """ creation = lxc.get_creation() - creation_steps = creation["creation_steps"] + creation_steps = creation["steps"] for step in creation_steps: match step["type"]: # Support for scripts case "script": - lxc_commands_utils.run_script(step, lxc) + lxc_commands_utils.run_script(lxc, step) case "file_create": lxc_commands_utils.create_file_in_lxc(lxc, step["path"], optional(step["permission"], 644)) case "file_copy":