fixed wrong dict name for creation step
This commit is contained in:
parent
9cc09aafa1
commit
31c310c6e0
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user