Move bootstrapdir requirement to main json schema

This commit is contained in:
Anders Ingemann 2013-06-27 21:31:52 +02:00
parent 29394270c6
commit 5418ac87ca
2 changed files with 6 additions and 5 deletions

View file

@ -6,6 +6,9 @@
"provider": { "provider": {
"type": "string" "type": "string"
}, },
"bootstrapdir": {
"type": "string"
},
"volume": { "volume": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -29,6 +32,7 @@
} }
}, },
"additionalProperties": false "additionalProperties": false
} },
"require": ["provider", "bootstrapdir"]
} }
} }

View file

@ -3,9 +3,6 @@
"title": "EC2 manifest", "title": "EC2 manifest",
"type": "object", "type": "object",
"properties": { "properties": {
"bootstrapdir": {
"type": "string"
},
"volume": { "volume": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -21,5 +18,5 @@
"required": ["backing", "filesystem"] "required": ["backing", "filesystem"]
} }
}, },
"required": ["bootstrapdir", "volume"] "required": ["volume"]
} }