bootstrap-vz/plugins/root_password/__init__.py
2013-10-27 18:11:57 +01:00

13 lines
411 B
Python

def tasks(tasklist, manifest):
from common.tasks.security import DisableSSHPasswordAuthentication
from tasks import SetRootPassword
tasklist.remove(DisableSSHPasswordAuthentication)
tasklist.add(SetRootPassword)
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)