Added SSH configuration support
This commit is contained in:
parent
f2b1a43f62
commit
e892136c14
4 changed files with 61 additions and 0 deletions
|
@ -11,6 +11,7 @@ use drives::{format_drives, mount_drives};
|
|||
use first_boot::{first_boot_values, genfstab};
|
||||
use kernel::setup_mkinitcpio;
|
||||
use security::{setup_secure_boot, setup_tpm_unlock};
|
||||
use ssh::setup_ssh;
|
||||
use user::setup_users;
|
||||
use yansi::{Color, Paint};
|
||||
use zram::setup_zram;
|
||||
|
@ -20,6 +21,7 @@ pub mod drives;
|
|||
pub mod first_boot;
|
||||
pub mod kernel;
|
||||
pub mod security;
|
||||
pub mod ssh;
|
||||
pub mod user;
|
||||
pub mod zram;
|
||||
|
||||
|
@ -65,6 +67,8 @@ pub fn install(conf: InstallConfig) {
|
|||
first_boot_values(&conf.general);
|
||||
setup_users(&conf.user);
|
||||
|
||||
setup_ssh(&conf.ssh);
|
||||
|
||||
setup_bootloader();
|
||||
|
||||
match conf.general.mode {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue