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":