The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Shared configuration schema for host-to-guest communication.
Purpose
This package defines the Config struct that is:
Serialized as JSON by the host when creating a VM's config disk
Deserialized by the guest init binary during boot
By defining this in a shared package, the host and guest code stay in sync without duplication.
Usage
The host writes this config to /config.json on the config disk (attached as /dev/vdc).
The guest init binary mounts this disk and reads the JSON configuration.
Fields
Entrypoint/Cmd/Workdir: Container execution parameters from the OCI image
Env: Environment variables (merged from image + instance overrides)
Network: Guest IP, gateway, DNS configuration
GPU: Whether GPU passthrough is enabled
VolumeMounts: Block devices to mount inside the guest
InitMode: Either "exec" (container-like) or "systemd" (full VM)
Config is the configuration passed to the guest init binary via config.json.
This struct is serialized by the host (lib/instances/configdisk.go) and
deserialized by the guest init binary (lib/system/init).