diff --git a/rust/agama-lib/share/examples/storage.json b/rust/agama-lib/share/examples/storage.json index 6ca4a04824..3c80bc5e76 100644 --- a/rust/agama-lib/share/examples/storage.json +++ b/rust/agama-lib/share/examples/storage.json @@ -26,6 +26,7 @@ } }, "path": "/", + "mountBy": "uuid", "mountOptions": ["ro"] } }, diff --git a/rust/agama-lib/share/profile.schema.json b/rust/agama-lib/share/profile.schema.json index 3476414f14..a3b0085f65 100644 --- a/rust/agama-lib/share/profile.schema.json +++ b/rust/agama-lib/share/profile.schema.json @@ -864,6 +864,10 @@ "type": "string", "examples": ["/dev/vda"] }, + "mountBy": { + "title": "How to mount the device", + "enum": ["device", "id", "label", "path", "uuid"] + }, "mkfsOptions": { "title": "mkfs options", "description": "Options for creating the file system.",