New Hosts deployed on oVirt/RHEV have names with domain dots/periods replaced with hyphens (i.e. foo-bar-com)
New Hosts deployed on oVirt/RHEV via Foreman are given names with the period/dot (.) in the domain name replaced with hyphens.
For instance, a "New Host" deployed on oVirt/RHEV with a given name of "foo" using "Domain" of "bar.com" appears on oVirt/RHEV with the name of "foo-bar-com".
This should be "foo.bar.com".
This may be due to a early limitation within oVirt/RHEV that disallowed period/dots in VM names, but this limitation was removed some versions ago.
Fixes #10278 - don't replace . with - for oVirt VM anymore
The version that supports . in VM names (v3.1.0-18) has been around
for almost 4 years
Time to move one and make the VM names in oVirt a bit nicer now.
#1 Updated by Dominic Cleal over 5 years ago
https://github.com/theforeman/foreman/blob/1.8.0-RC3/app/models/compute_resources/foreman/model/ovirt.rb#L139-L140 is responsible, for reference.