diff options
Diffstat (limited to 'src/spec.rs')
-rw-r--r-- | src/spec.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/spec.rs b/src/spec.rs index 1209040..2cb61f6 100644 --- a/src/spec.rs +++ b/src/spec.rs @@ -2,12 +2,22 @@ use serde::{Deserialize, Serialize}; use std::path::PathBuf; #[derive(Debug, Serialize, Deserialize)] +#[serde(deny_unknown_fields)] pub struct Specification { pub name: String, #[serde(default)] pub ssh_key_files: Vec<PathBuf>, + pub rsa_host_key: Option<String>, + pub rsa_host_cert: Option<String>, + pub dsa_host_key: Option<String>, + pub dsa_host_cert: Option<String>, + pub ecdsa_host_key: Option<String>, + pub ecdsa_host_cert: Option<String>, + pub ed25519_host_key: Option<String>, + pub ed25519_host_cert: Option<String>, + pub base: PathBuf, pub image: PathBuf, pub image_size_gib: u64, |