Restrict supported volume backings in prebootstrap

This commit is contained in:
Anders Ingemann 2013-11-21 17:27:25 +01:00
parent 0fac91c2fc
commit 6df7469614

View file

@ -3,6 +3,16 @@
"title": "Prebootstrapped plugin manifest", "title": "Prebootstrapped plugin manifest",
"type": "object", "type": "object",
"properties": { "properties": {
"volume": {
"type": "object",
"properties": {
"backing": {
"type": "string",
"enum": ["raw", "ebs", "s3", "vdi"]
}
},
"required": ["backing"]
},
"plugins": { "plugins": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -21,5 +31,5 @@
"required": ["prebootstrapped"] "required": ["prebootstrapped"]
} }
}, },
"required": ["plugins"] "required": ["volume", "plugins"]
} }