I want to run a script before the start of the first container. The host is archlinux and LXD is using snap. Do i need to write a systemd init script or is there a place i can drop in a script.
The script which i need to run is to initialize the GPU with the following contents,
nvidia-container-cli --user=1001:1002 -k -d /dev/tty list