Centralize sandbox destination authority
This commit is contained in:
parent
54cc167f81
commit
f8849cdb5f
2 changed files with 112 additions and 48 deletions
|
|
@ -17,6 +17,7 @@ lazaret-control-client = { version = "=0.0.0", path = "../lazaret-control-client
|
|||
lazaret-core = { version = "=0.0.0", path = "../lazaret-core" }
|
||||
lazaret-domain-state = { version = "=0.0.0", path = "../lazaret-domain-state" }
|
||||
lazaret-linux = { version = "=0.0.0", path = "../lazaret-linux" }
|
||||
lazaret-sandbox-contract = { version = "=0.0.0", path = "../lazaret-sandbox-contract" }
|
||||
rustix.workspace = true
|
||||
rustls.workspace = true
|
||||
sha2.workspace = true
|
||||
|
|
|
|||
|
|
@ -463,7 +463,7 @@ pub(crate) fn load_configuration(
|
|||
xdg_data_home: optional_environment_path("XDG_DATA_HOME"),
|
||||
xdg_runtime_dir: required_environment_path("XDG_RUNTIME_DIR")?,
|
||||
environment: environment(),
|
||||
sandbox_layout: lazaret_core::configuration::SandboxLayoutV1::default_layout()?,
|
||||
sandbox_layout: lazaret_sandbox_contract::default_sandbox_layout()?,
|
||||
})?)
|
||||
}
|
||||
|
||||
|
|
@ -688,7 +688,7 @@ mod tests {
|
|||
xdg_data_home: None,
|
||||
xdg_runtime_dir: runtime,
|
||||
environment: BTreeMap::new(),
|
||||
sandbox_layout: lazaret_core::configuration::SandboxLayoutV1::default_layout().unwrap(),
|
||||
sandbox_layout: lazaret_sandbox_contract::default_sandbox_layout().unwrap(),
|
||||
})
|
||||
.unwrap()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue