Skip to main content

ENV_NET

Constant ENV_NET 

Source
pub const ENV_NET: &str = "MSB_NET";
Expand description

Environment variable carrying the guest network interface configuration.

Format: key=value,...

  • iface=NAME — interface name (required)
  • mac=AA:BB:CC:DD:EE:FF — MAC address (required)
  • mtu=N — MTU (optional)

Example:

  • MSB_NET=iface=eth0,mac=02:5a:7b:13:01:02,mtu=1500