diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-03-07 09:01:23 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-03-07 12:25:19 +0200 |
commit | 4621b07522564f6a3c1c2ad0484fb88cf0e2ce49 (patch) | |
tree | 8f8c33437771322c2c5c2c40d79151320beb2beb /src/config.rs | |
parent | a6f802fda57fc7e951c0374a268de2274718cd9d (diff) | |
download | vmadm-4621b07522564f6a3c1c2ad0484fb88cf0e2ce49.tar.gz |
feat: generate SSH key pairs, create host certificates
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs index a13c989..132f1f6 100644 --- a/src/config.rs +++ b/src/config.rs @@ -10,8 +10,10 @@ pub struct Configuration { pub default_image_gib: Option<u64>, pub default_memory_mib: Option<u64>, pub default_cpus: Option<u64>, + pub default_generate_host_certificate: bool, pub image_directory: Option<PathBuf>, pub authorized_keys: Option<Vec<PathBuf>>, + pub ca_key: Option<PathBuf>, } #[derive(Debug, thiserror::Error)] |