Added user configuration support to installer
This commit is contained in:
parent
73a30e4576
commit
eabd898ccf
4 changed files with 51 additions and 5 deletions
|
@ -8,7 +8,16 @@ pub struct InstallConfig {
|
|||
/// General Configuration
|
||||
pub general: GeneralConfig,
|
||||
/// Package Configuration
|
||||
pub pkg: PackageConfig
|
||||
pub pkg: PackageConfig,
|
||||
/// User Configuration
|
||||
pub user: Vec<UserConfig>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct UserConfig {
|
||||
pub name: String,
|
||||
pub password: String,
|
||||
pub doas_root: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue