Blueprint format - image #21
croissanne
started this conversation in
General
Replies: 0 comments 3 replies
-
After discussing and some fresh bugs we encountered, we should make "packages": {
"type": "array",
"items": {
"type": "object"
"required": [
"name",
"description"
]
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
} |
Beta Was this translation helpful? Give feedback.
1 reply
-
The filesystem needs to be expanded as well: {
"filesystem": {
"oneOf": [
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"description": "must be lvm"
},
"mountpoints": {
"type": "array",
"items": {
"type": "object",
"required": [
"mountpoint",
"size"
],
"properties": {
"mountpoint": {
"type": "string"
},
"size": {
"type": "integer",
"description": "size in bytes"
}
}
}
},
"max_size": {
"type": "integer",
"description": "maximum size in bytes"
}
}
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"description": "must be btrfs"
},
"mountpoints": {
"type": "array",
"items": {
"type": "object",
"required": [
"mountpoint"
],
"properties": {
"mountpoint": {
"type": "string"
}
}
}
},
"compression": {
"type": "int",
"description": "level of compression"
},
"max_size": {
"type": "integer",
"description": "max size in bytes"
}
}
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"description": "must be raw"
},
"mountpoints": {
"type": "array",
"items": {
"type": "object",
"required": [
"mountpoint",
"size"
],
"properties": {
"mountpoint": {
"type": "string"
},
"size": {
"type": "integer"
}
}
}
},
"max_size": {
"type": "integer",
"description": "max size in bytes"
}
}
}
]
}
}
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The goal is to have a long lived configuration object which will be reusable, exportable, importable, and which other services will depend on. As such the decisions made here are important.
Properties which I'm not sure about I've marked with
?...?
.This image template could be part of a larger 'launch' template, where you could specify
deploy x instance of this image template
.Any properties which aren't marked as required don't have to be in the first version, they can be added later without breaking v1.
Beta Was this translation helpful? Give feedback.
All reactions