mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00
13 lines
338 B
Python
13 lines
338 B
Python
![]() |
|
||
|
|
||
|
def tasks(tasklist, manifest):
|
||
|
import tasks
|
||
|
tasklist.add(tasks.AddUnattendedUpgradesPackage())
|
||
|
tasklist.add(tasks.EnablePeriodicUpgrades())
|
||
|
|
||
|
|
||
|
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)
|