summaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index 864540c..bda99e9 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -54,6 +54,9 @@ pub struct Config {
/// untrusted the moment it boots; this token is the only thing telling
/// the hub "you belong to me" — deploy it like one.
pub agent_token: String,
+ /// Image a provisioned sandbox boots (the `sandbox-agent` entrypoint).
+ /// Only consulted by provisioning backends (kata).
+ pub sandbox_image: String,
/// Test-only hooks (§16a). Not part of the production configuration at all
/// unless the crate is built with `test-support` — see [`TestHooks`].
#[cfg(feature = "test-support")]
@@ -145,6 +148,7 @@ impl Default for Config {
sandbox_backend: "loopback".into(),
agent_listen: String::new(),
agent_token: String::new(),
+ sandbox_image: "aur-build-sandbox:latest".into(),
#[cfg(feature = "test-support")]
hooks: TestHooks::default(),
max_concurrent_builds: 1,