In some cases, it may be necessary to deploy Linux machines from Aria Automation where the machines are configured with static IPs and provisioned using only short names, without the need for a domain name.
Aria Automation 8.x
Aria Automation's network profiles require a domain name to be specified during the deployment process. There is no immediate or obvious workaround for this limitation.
To resolve this, modify the hostname for the machine using cloud-init at deployment time.
Documentation on leveraging cloud-init can be found here:
https://techdocs.broadcom.com/us/en/vmware-cis/aria/aria-automation/8-14/assembler-on-prem-using-and-managing-master-map-8-14/maphead-designing-your-deployments/initialize-general/initialize-cloudconfig-commands.html
An example of the commands used to accomplish this are in the "runcmd" block included below:
cloudConfigSettings: cloudConfig: | #cloud-config runcmd: - sed -i "s/.local / /g" /etc/hosts - hostnamectl set-hostname `hostname | sed 's/.local//g'`