pub struct GuestBootstrap {Show 14 fields
pub block_root: Option<BootstrapBlockRoot>,
pub dir_mounts: Vec<BootstrapDirMount>,
pub file_mounts: Vec<BootstrapFileMount>,
pub disk_mounts: Vec<BootstrapDiskMount>,
pub tmpfs_mounts: Vec<BootstrapTmpfsMount>,
pub hostname: Option<String>,
pub host_alias: Option<String>,
pub network: Option<BootstrapNetwork>,
pub rlimits: Vec<ExecRlimit>,
pub user: Option<String>,
pub default_cwd: Option<String>,
pub default_env: Vec<BootstrapEnvVar>,
pub security_profile: BootstrapSecurityProfile,
pub handoff_init: Option<BootstrapHandoffInit>,
}Expand description
Complete one-shot configuration consumed by agentd during guest boot.
The runtime preloads this payload into the agent console before the VM starts. The surrounding protocol envelope supplies the schema generation.
Fields§
§block_root: Option<BootstrapBlockRoot>Block-backed root filesystem assembly, when required.
dir_mounts: Vec<BootstrapDirMount>Virtiofs directory mounts installed inside the guest.
file_mounts: Vec<BootstrapFileMount>Virtiofs file mounts installed inside the guest.
disk_mounts: Vec<BootstrapDiskMount>Additional block-device mounts installed inside the guest.
tmpfs_mounts: Vec<BootstrapTmpfsMount>Tmpfs mounts installed inside the guest.
hostname: Option<String>Guest hostname.
host_alias: Option<String>Host alias written into the guest’s hosts file.
network: Option<BootstrapNetwork>Guest network interface and address configuration.
rlimits: Vec<ExecRlimit>Sandbox-wide resource limits inherited by guest workloads.
user: Option<String>Default guest user for command execution.
default_cwd: Option<String>Default working directory for requests that omit one.
default_env: Vec<BootstrapEnvVar>Environment inherited by requests that do not override a key.
Secret entries contain guest-visible placeholders, never host secret values. Explicit exec and handoff environment entries take precedence.
security_profile: BootstrapSecurityProfileIn-guest security policy.
handoff_init: Option<BootstrapHandoffInit>Optional PID 1 handoff after agentd finishes guest initialization.
Trait Implementations§
Source§impl Clone for GuestBootstrap
impl Clone for GuestBootstrap
Source§fn clone(&self) -> GuestBootstrap
fn clone(&self) -> GuestBootstrap
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more