Deploy VM without domain name

Hi,

I’m using foreman in order to deploy VM from a template on vsphere. This works great.
I use to deploy my vm with only the name of the vm i.e : server1
But foreman automatically append the domain to the created VM : server1.domain.local

Could this be because my user data look like :

identity:
LinuxPrep:
domain: domain.local
hostName: server1
globalIPSettings:
dnsServerList: [ 192.168.1.1, ]
dnsSuffixList: [domain.local]
nicSettingMap:
[…]

Can this be modify ?

Thanks

In the Settings > General you can set Append domain names to the host to No which should do what you want.

Works great !

thank you for the tip.