domain wrong if host contians a '.'
If host = 'xx-01.xx-02' then the domain will be 'xx-02.mydomain.com' and not 'mydomain.com'
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.
#1 Updated by Matt Moran about 8 years ago
#2 Updated by Matt Moran about 8 years ago
- File 0001-fixes-bug-398-issue-with-adding-hosts-with-full-stop.patch 0001-fixes-bug-398-issue-with-adding-hosts-with-full-stop.patch added
- Assignee changed from Matt Moran to Ohad Levy
Here's my patch.