diff options
author | Andrew Fontaine | 2022-01-26 22:10:49 -0500 |
---|---|---|
committer | Andrew Fontaine | 2022-01-28 16:18:12 -0500 |
commit | 874af9b05bec0bd73a333166a8b5291ecb1c0e3e (patch) | |
tree | 3ec4c68c7a2bb93baea99c91c272c592eac3447a /src/data.rs | |
parent | 0ac333cdc03407538b5b19d60a8e7c64588490fb (diff) |
Add custom sudo command support
This is useful for nodes that utilize `doas` instead of `sudo`.
Diffstat (limited to 'src/data.rs')
-rw-r--r-- | src/data.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/data.rs b/src/data.rs index 6fe7f75..b00a4d0 100644 --- a/src/data.rs +++ b/src/data.rs @@ -28,6 +28,8 @@ pub struct GenericSettings { pub temp_path: Option<String>, #[serde(rename(deserialize = "magicRollback"))] pub magic_rollback: Option<bool>, + #[serde(rename(deserialize = "sudo"))] + pub sudo: Option<String>, } #[derive(Deserialize, Debug, Clone)] |