Skip to content

Commit

Permalink
schema: update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
joseivanlopez committed Aug 19, 2024
1 parent 0db6926 commit c027e96
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion rust/agama-lib/share/examples/profile_tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"root": {
"password": "nots3cr3t",
"sshKey": "..."
"sshPublicKey": "..."
},
"network": {
"connections": [
Expand Down
20 changes: 10 additions & 10 deletions rust/agama-lib/share/examples/storage.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
"partitions": [
{
"search": { "name": "/dev/vda2" },
"encryption": {
"luks1": {
"password": "notsecret"
}
},
"filesystem": {
"reuse": false,
"type": "btrfs",
Expand All @@ -27,8 +32,10 @@
"id": "linux",
"size": "10 GiB",
"encryption": {
"key": "notsecret",
"method": "luks2"
"luks2": {
"password": "notsecret",
"label": "data"
}
},
"filesystem": {
"type": "xfs",
Expand All @@ -37,10 +44,7 @@
},
{
"size": "2 GiB",
"encryption": {
"key": "notsecret",
"method": "luks2"
},
"encryption": "random_swap",
"filesystem": {
"type": "swap",
"path": "swap"
Expand All @@ -52,10 +56,6 @@
"search": {
"name": "/dev/vdb"
},
"encryption": {
"key": "notsecret",
"method": "luks2"
},
"filesystem": {
"type": "ext4",
"path": "/var/log"
Expand Down

0 comments on commit c027e96

Please sign in to comment.