Hi there,
I'm running CentOS 8 in a LXC container from the default template.
After a quick dnf update in the container i ran the installer. It gave me the command hostname not found warning.
i ran dnf install -y hostname and tried again, this time no issues.
Maybe first check if this command, and maybe other commands, are installed on the system.