From e09f7687369a00c499d5fcfe34668027e16016db Mon Sep 17 00:00:00 2001 From: Mathieu Broillet Date: Wed, 21 Jun 2023 10:45:00 +0200 Subject: [PATCH] fix folder_create step not ran --- src/lxc/creation_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/creation_utils.py b/src/lxc/creation_utils.py index a7b5e92..ec6aaa1 100644 --- a/src/lxc/creation_utils.py +++ b/src/lxc/creation_utils.py @@ -158,7 +158,7 @@ def run_steps(lxc: LXC): lxc.create_file(step["path"], step.get("permission", 644), step.get("owner", "root")) case "file_copy": lxc.pve.copy_file_to_lxc(lxc, get_path(lxc, step["path"]), step["destination"]) - case "folder": + case "folder_create": lxc.create_directory(step["path"], step.get("permission", 755), step.get("owner", "root")) case "folder_copy": lxc.pve.copy_folder_to_lxc(lxc, get_path(lxc, step["path"]), step["destination"])