The node's work directory and every directory derived from it.
work_dir is the single configurable root (config.toml-only, shared with the
setuid helper); everything else is a fixed sub-path so the node and helper
agree on layout without a second key to keep in sync.
Summary
Functions
Per-VM chroot directories (<work_dir>/jails).
Where a node-downloaded firecracker installs (<work_dir>/redist/firecracker).
Read-only image layer store. Delegates to Hyper.Cfg.Img.store/0.
Node-downloaded binaries (<work_dir>/redist).
Per-VM copy-on-write writable layers (<work_dir>/scratch).
Per-VM control/gRPC sockets (<work_dir>/socks).
Where the default umoci installs (<work_dir>/redist/umoci).
Where guest kernels install (<work_dir>/redist/vmlinux).
Root work directory for this node. config.toml work_dir, default /srv/hyper.
Functions
@spec chroot_base() :: Path.t()
Per-VM chroot directories (<work_dir>/jails).
@spec firecracker_install_dir() :: Path.t()
Where a node-downloaded firecracker installs (<work_dir>/redist/firecracker).
@spec layer_dir() :: Path.t()
Read-only image layer store. Delegates to Hyper.Cfg.Img.store/0.
@spec redist_dir() :: Path.t()
Node-downloaded binaries (<work_dir>/redist).
@spec scratch_dir() :: Path.t()
Per-VM copy-on-write writable layers (<work_dir>/scratch).
@spec socket_dir() :: Path.t()
Per-VM control/gRPC sockets (<work_dir>/socks).
@spec umoci_install_dir() :: Path.t()
Where the default umoci installs (<work_dir>/redist/umoci).
@spec vmlinux_install_dir() :: Path.t()
Where guest kernels install (<work_dir>/redist/vmlinux).
@spec work_dir() :: Path.t()
Root work directory for this node. config.toml work_dir, default /srv/hyper.