mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
Move bootstrapdir requirement to main json schema
This commit is contained in:
parent
29394270c6
commit
5418ac87ca
2 changed files with 6 additions and 5 deletions
|
@ -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"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue