diff --git a/plugins/image_commands/tasks.py b/plugins/image_commands/tasks.py index 707cbc5..1c8e3e4 100644 --- a/plugins/image_commands/tasks.py +++ b/plugins/image_commands/tasks.py @@ -10,5 +10,5 @@ class ImageExecuteCommand(Task): def run(cls, info): from common.tools import log_check_call for raw_command in info.manifest.plugins['image_commands']['commands']: - command = map(lambda part: part.format(**info.manifest_vars), raw_command) + command = map(lambda part: part.format(root=info.root, **info.manifest_vars), raw_command) log_check_call(command)