feature(oci): add configuration value for oci seed file (#220)

This commit is contained in:
Alex Zenla
2024-07-01 12:36:21 -07:00
committed by GitHub
parent 367d31b11f
commit fe8e1d5521
2 changed files with 13 additions and 2 deletions

View File

@ -6,10 +6,18 @@ use tokio::fs;
#[derive(Serialize, Deserialize, Clone, Debug, Default)]
pub struct DaemonConfig {
#[serde(default)]
pub oci: OciConfig,
#[serde(default)]
pub pci: DaemonPciConfig,
}
#[derive(Serialize, Deserialize, Clone, Debug, Default)]
pub struct OciConfig {
#[serde(default)]
pub seed: Option<String>,
}
#[derive(Serialize, Deserialize, Clone, Debug, Default)]
pub struct DaemonPciConfig {
#[serde(default)]