fixes bug #398 - issue with adding hosts with full stops This introduce a small behaviour change, before, once adding host like: x.domain.net, foreman would automatically add domain.net to its domain list, but now, as a full stop(".") is a valid hostname char, we can't parse the domain name safely, therefor we expect the user to make sure that the domain created before creating a host.
fixes bug #398 - issue with adding hosts with full stops
This introduce a small behaviour change, before, once adding host like:
x.domain.net, foreman would automatically add domain.net to its domain
list, but now, as a full stop(".") is a valid hostname char,
we can't parse the domain name safely, therefor we expect the user to
make sure that the domain created before creating a host.