[checkHost.sh] Failed error when installing Platform on Ubuntu 20.04

I am currently trying to install KX Platform 4.7.1 on a fresh Ubuntu 20.04 install but I keep getting a checkhost error and looking at the logs I can’t find the specific error that is causing problems

 

If anyone can offer any advice I have attached the log mentioned.

 

$ ./install.sh

== install.sh [2.1.7] ==

Platform install directory [/home/cameron/kxinstall]:
±----------------------------------------------------------+
Running Pre Deploy Script [checkHost.sh]
Error: [checkHost.sh] Failed.
Error: See [scripts/checkHost.sh.out] for more details
±----------------------------------------------------------+
Error: Installation failed.

https://code.kx.com/platform/deployment/lin_prerequisites/#host-configuration

Kdb+ licenses (k4.lic) are tied to the hostname of a machine and specifically the hostname in FQDN (<HOSTNAME>.<DOMAINNAME>) format. 

 

The installer expects the hostname to be the the required FQDN format .i.e server1.company.com