bootstrap-vz/plugins/image_commands/__init__.py
2013-12-14 23:18:39 +01:00

11 lines
309 B
Python

def validate_manifest(data, schema_validate):
from os import path
schema_path = path.normpath(path.join(path.dirname(__file__), 'manifest-schema.json'))
schema_validate(data, schema_path)
def tasks(tasklist, manifest):
from image_commands import ImageExecuteCommand
tasklist.add(ImageExecuteCommand)