Skip to main content

ENV_HOSTNAME

Constant ENV_HOSTNAME 

Source
pub const ENV_HOSTNAME: &str = "MSB_HOSTNAME";
Expand description

Environment variable carrying the guest hostname for agentd.

Format: bare string

Example:

  • MSB_HOSTNAME=worker-01

agentd calls sethostname() and adds the name to /etc/hosts. Defaults to the sandbox name when not explicitly set.