Hi,
I have successfully installed the agent on a LXC container with Ubuntu 20.04.
The minimal Ubuntu do not have curl installed as default therefore I suggest that the script check for that requirement :
command -v curl >/dev/null 2>&1 || { echo >&2 "I require curl but it's not installed. Aborting."; exit 1; }
Regards,
Benny