pub use boxlite_shared::constants::{container, mount_tags, network};
pub mod guest_paths {
pub const BIN_DIR: &str = "/boxlite/bin";
}
pub mod envs {
pub const BOXLITE_HOME: &str = "BOXLITE_HOME";
#[cfg(feature = "rest")]
pub const BOXLITE_REST_URL: &str = "BOXLITE_REST_URL";
#[cfg(feature = "rest")]
pub const BOXLITE_API_KEY: &str = "BOXLITE_API_KEY";
#[cfg(feature = "rest")]
pub const BOXLITE_REST_PATH_PREFIX: &str = "BOXLITE_REST_PATH_PREFIX";
}
pub mod images {
pub const DEFAULT: &str = "alpine:latest";
pub const INIT_ROOTFS: &str = "debian:bookworm-slim";
}
pub mod fs_options {
pub const TMPFS_SIZE_MB: usize = 1024;
pub const OVERLAYFS_OPTIONS: &[&str] =
&["metacopy=off", "redirect_dir=off", "index=off", "xino=off"];
}
pub mod vm_defaults {
pub const DEFAULT_CPUS: u8 = 1;
pub const DEFAULT_MEMORY_MIB: u32 = 2048;
pub const DEFAULT_DISK_SIZE_GB: u64 = 10;
}
pub mod filenames {
pub const LOCK_FILE: &str = ".lock";
}