fix folder_create step not ran
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
bffeb92008
commit
e09f768736
@ -158,7 +158,7 @@ def run_steps(lxc: LXC):
|
|||||||
lxc.create_file(step["path"], step.get("permission", 644), step.get("owner", "root"))
|
lxc.create_file(step["path"], step.get("permission", 644), step.get("owner", "root"))
|
||||||
case "file_copy":
|
case "file_copy":
|
||||||
lxc.pve.copy_file_to_lxc(lxc, get_path(lxc, step["path"]), step["destination"])
|
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"))
|
lxc.create_directory(step["path"], step.get("permission", 755), step.get("owner", "root"))
|
||||||
case "folder_copy":
|
case "folder_copy":
|
||||||
lxc.pve.copy_folder_to_lxc(lxc, get_path(lxc, step["path"]), step["destination"])
|
lxc.pve.copy_folder_to_lxc(lxc, get_path(lxc, step["path"]), step["destination"])
|
||||||
|
Loading…
Reference in New Issue
Block a user