mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00
14 lines
395 B
Python
14 lines
395 B
Python
import base
|
|
|
|
|
|
class Manifest(base.Manifest):
|
|
def validate(self, data):
|
|
super(Manifest, self).validate(data)
|
|
from os import path
|
|
schema_path = path.join(path.dirname(__file__), 'manifest-schema.json')
|
|
self.schema_validate(data, schema_path)
|
|
|
|
def parse(self, data):
|
|
super(Manifest, self).parse(data)
|
|
self.image = data['image']
|
|
self.virtualization = data['virtualization']
|