Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into bootloader_force_us…
Browse files Browse the repository at this point in the history
…er_input
  • Loading branch information
jreidinger committed Dec 19, 2024
2 parents 5492568 + 1477848 commit 4398045
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
22 changes: 19 additions & 3 deletions rust/agama-lib/share/profile.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@
"title": "The name of the network interface bound to this connection",
"type": "string"
},
"mac-address": {
"title": "Custom mac-address",
"macAddress": {
"title": "Custom MAC address",
"description": "Can also be 'preserve', 'permanent', 'random' or 'stable'.",
"type": "string"
},
Expand Down Expand Up @@ -159,10 +159,21 @@
"additionalProperties": false
}
},
"ignore_auto_dns": {
"ignoreAutoDns": {
"description": "Whether DNS options provided via DHCP are used or not",
"type": "boolean"
},
"status": {
"title": "Connection status",
"description": "The status of the connection",
"type": "string",
"enum": ["up", "down", "removed"]
},
"autoconnect": {
"title": "Auto-connected",
"description": "Whether the connection should be automatically connected",
"type": "boolean"
},
"wireless": {
"type": "object",
"title": "Wireless configuration",
Expand Down Expand Up @@ -399,6 +410,11 @@
"hashedPassword": {
"title": "Flag for hashed password (true) or plain text password (false or not defined)",
"type": "boolean"
},
"autologin": {
"title": "Automatic user login",
"description": "Whether the user should be automatically logged in (only relevant in desktop systems)",
"type": "boolean"
}
},
"required": ["fullName", "userName", "password"]
Expand Down
2 changes: 2 additions & 0 deletions rust/agama-lib/src/product/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ use serde::{Deserialize, Serialize};
pub struct ProductSettings {
/// ID of the product to install (e.g., "ALP", "Tumbleweed", etc.)
pub id: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub registration_code: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub registration_email: Option<String>,
}
1 change: 1 addition & 0 deletions rust/agama-lib/src/users/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,6 @@ pub struct RootUserSettings {
#[serde(skip_serializing)]
pub hashed_password: Option<bool>,
/// Root SSH public key
#[serde(skip_serializing_if = "Option::is_none")]
pub ssh_public_key: Option<String>,
}
5 changes: 5 additions & 0 deletions rust/package/agama.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 19 11:39:14 UTC 2024 - Imobach Gonzalez Sosa <[email protected]>

- Fix several validation issues (gh#agama-project/agama#1845).

-------------------------------------------------------------------
Wed Dec 18 12:32:00 UTC 2024 - Imobach Gonzalez Sosa <[email protected]>

Expand Down

0 comments on commit 4398045

Please sign in to comment.