mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
11 lines
405 B
Python
11 lines
405 B
Python
def validate_manifest(data, validator, error):
|
|
from bootstrapvz.common.tools import log_check_call, rel_path
|
|
validator(data, rel_path(__file__, 'manifest-schema.yml'))
|
|
|
|
log_check_call(['debconf-set-selections', '--checkonly'],
|
|
stdin=data['plugins']['debconf'])
|
|
|
|
|
|
def resolve_tasks(taskset, manifest):
|
|
from . import tasks
|
|
taskset.update([tasks.DebconfSetSelections])
|