mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
61 lines
1.2 KiB
JSON
61 lines
1.2 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"title": "Generic manifest",
|
|
"type": "object",
|
|
"properties": {
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"bootstrapper": {
|
|
"type": "object",
|
|
"properties": {
|
|
"mount_dir": { "type": "string" },
|
|
"tarball": { "type": "boolean" },
|
|
"tarball_dir": { "type": "string" }
|
|
},
|
|
"required": ["mount_dir"]
|
|
},
|
|
"system": {
|
|
"type": "object",
|
|
"properties": {
|
|
"release": {
|
|
"type": "string",
|
|
"enum": ["wheezy"]
|
|
},
|
|
"architecture": {
|
|
"type": "string",
|
|
"enum": ["i386", "amd64"]
|
|
},
|
|
"timezone": { "type": "string" },
|
|
"locale": { "type": "string" },
|
|
"charmap": { "type": "string" }
|
|
},
|
|
"required": ["release", "architecture", "timezone", "locale", "charmap"]
|
|
},
|
|
"volume": {
|
|
"type": "object",
|
|
"properties": {
|
|
"size": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": ["size"]
|
|
},
|
|
"plugins": {
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"^\\w+$": {
|
|
"type": "object",
|
|
"properties": {
|
|
"enabled": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": ["enabled"]
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": ["provider", "bootstrapper", "volume", "system"]
|
|
}
|