The NVIDIA Air Agent is a systemd service that detects if a VM has been cloned. When a clone operation has been detected, it calls out to the Air API to see if there are any post-clone instructions available to execute.
Make sure python3
and either python3-pip
are installed:
sudo apt update && sudo apt install -y python3 python3-pip
Install the dependencies via pip:
python3 -m pip install .
Make sure python3
, python3-cryptography
, python3-git
, python3-requests
and util-linux-extra
(required for use of the hwclock
command by the agent) are installed:
sudo apt update && sudo apt install -y python3 python3-cryptography python3-git python3-requests util-linux-extra
Once the proper dependencies are installed, run the install script:
sudo ./install.sh
Pass the desired VRF name to the install script:
sudo ./install.sh -v <VRF>
For example, in newer Cumulus Linux versions where eth0 is configured in the mgmt VRF by default:
sudo ./install.sh -v mgmt
The Air platform dynamically injects an appropriate agent configuration into the VM via /mnt/air/agent.ini. This path can be overridden with the -c
/--config-file
command line argument.
Additionally, individual settings can be overriden using environment variables prefixed with AIR_AGENT_
. For example, to override the LOG_LEVEL
setting, set an environment variable named AIR_AGENT_LOG_LEVEL
.