Skip to content

Commit

Permalink
fix(schema): use alias for boot device
Browse files Browse the repository at this point in the history
  • Loading branch information
joseivanlopez committed Dec 4, 2024
1 parent c4461a9 commit a46f1b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 2 additions & 1 deletion rust/agama-lib/share/examples/storage/drives.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
"storage": {
"boot": {
"configure": true,
"device": "/dev/vda"
"device": "vda"
},
"drives": [
{
"search": "/dev/vda",
"alias": "vda",
"ptableType": "gpt",
"partitions": [
{
Expand Down
6 changes: 1 addition & 5 deletions rust/agama-lib/share/storage.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@
"description": "Whether to configure partitions for booting.",
"type": "boolean"
},
"device": {
"description": "The target installation device is used by default.",
"type": "string",
"examples": ["/dev/vda"]
}
"device": { "$ref": "#/$defs/alias" }
}
},
"driveElement": {
Expand Down

0 comments on commit a46f1b0

Please sign in to comment.