bootstrap-vz/plugins/image_commands/__init__.py
Olivier Sallou 99b7834611 fix call of ImageCommands, object should not be called, only class should be
remove loopback_file reference, not existing anymore
  filesystem not available anymore, and depends on volume layout so remove the
  execute commands after the user_packages install, else user won't be able to
  call or update installed packages
2013-12-15 08:33:45 +01:00

11 lines
344 B
Python

def tasks(tasklist, manifest):
from image_commands import ImageExecuteCommand
tasklist.add(ImageExecuteCommand)
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)