From bdde4a72cdec06f9124fd4bdf04eb7c7b3adb336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Thu, 16 May 2024 16:28:35 +0100 Subject: [PATCH] rust: fix and update profile examples --- rust/agama-lib/share/examples/profile.jsonnet | 11 ++++++++--- rust/agama-lib/share/examples/profile_tw.json | 4 ++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/rust/agama-lib/share/examples/profile.jsonnet b/rust/agama-lib/share/examples/profile.jsonnet index b37e986809..e6ad07ffc1 100644 --- a/rust/agama-lib/share/examples/profile.jsonnet +++ b/rust/agama-lib/share/examples/profile.jsonnet @@ -20,8 +20,13 @@ local findBiggestDisk(disks) = sorted[0].logicalname; { + product: { + id: 'Tumbleweed' + }, software: { - product: 'ALP-Bedrock', + patterns: [ + 'gnome' + ], }, user: { fullName: 'Jane Doe', @@ -35,7 +40,7 @@ local findBiggestDisk(disks) = // look ma, there are comments! localization: { language: 'en_US', - keyboard: 'en_US', + keyboard: 'us', }, storage: { bootDevice: findBiggestDisk(agama.disks), @@ -56,7 +61,7 @@ local findBiggestDisk(disks) = method4: 'manual', gateway4: '192.168.122.1', addresses: [ - '192.168.122.100/24,' + '192.168.122.100/24' ], nameservers: [ '1.2.3.4' diff --git a/rust/agama-lib/share/examples/profile_tw.json b/rust/agama-lib/share/examples/profile_tw.json index 0032bcfb99..06a1d9215b 100644 --- a/rust/agama-lib/share/examples/profile_tw.json +++ b/rust/agama-lib/share/examples/profile_tw.json @@ -1,6 +1,6 @@ { "localization": { - "keyboard": "en_US", + "keyboard": "us", "language": "en_US" }, "software": { @@ -39,7 +39,7 @@ "nameservers": [ "192.168.122.1", "2001:4860:4860::8888" - ], + ] } ] }