#!/usr/bin/execlineb -P

# The agent comes from the host: incus-agent-setup of the Incus VM image
# copies it from the config share into a tmpfs at /run/incus_agent.
foreground { /lib/systemd/incus-agent-setup }
cd /run/incus_agent
/run/incus_agent/incus-agent
