This commit is contained in:
Anders Ingemann 2014-01-14 08:46:53 +01:00
parent f8fb613457
commit 60a6fa0df2

View file

@ -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)