From 6df7469614e91f1530ccc0da510ba36f7d296491 Mon Sep 17 00:00:00 2001 From: Anders Ingemann Date: Thu, 21 Nov 2013 17:27:25 +0100 Subject: [PATCH] Restrict supported volume backings in prebootstrap --- plugins/prebootstrapped/manifest-schema.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/plugins/prebootstrapped/manifest-schema.json b/plugins/prebootstrapped/manifest-schema.json index 7c35493..53fbaec 100644 --- a/plugins/prebootstrapped/manifest-schema.json +++ b/plugins/prebootstrapped/manifest-schema.json @@ -3,6 +3,16 @@ "title": "Prebootstrapped plugin manifest", "type": "object", "properties": { + "volume": { + "type": "object", + "properties": { + "backing": { + "type": "string", + "enum": ["raw", "ebs", "s3", "vdi"] + } + }, + "required": ["backing"] + }, "plugins": { "type": "object", "properties": { @@ -21,5 +31,5 @@ "required": ["prebootstrapped"] } }, - "required": ["plugins"] + "required": ["volume", "plugins"] }