Host gets wrong domainname in /etc/hosts

Hi on a 1.7.1 (and also 1.6.3) my installed host gets a wrong hostname in
/etc/hosts

The domainname should be:

hostname.foo4.foo3.foo2.foo1.foo.local
But it get's

hostname.foo3.foo2.foo1.foo.local

When creating the VM the DNS names are set right and I can ping
hostname.foo4.foo3.foo2.foo1.foo.local
Also subnets/domains are OK.

This host is in a very deep nested hostgroup, could this be a problem ?

I'm out of options.

Cheers,

Matt

As far as I can debug this the host is getting it's domainname from one or
two parent before it's own group. BUt as I overwrite it in it's own group I
wonder why this this goes wrong.

··· On Sunday, January 4, 2015 2:31:09 PM UTC+1, yamaka...@gmail.com wrote: > > Hi on a 1.7.1 (and also 1.6.3) my installed host gets a wrong hostname in > /etc/hosts > > The domainname should be: > > hostname.foo4.foo3.foo2.foo1.foo.local > But it get's > > hostname.foo3.foo2.foo1.foo.local > > > When creating the VM the DNS names are set right and I can ping > hostname.foo4.foo3.foo2.foo1.foo.local > Also subnets/domains are OK. > > This host is in a very deep nested hostgroup, could this be a problem ? > > I'm out of options. > > Cheers, > > Matt >

This seems to be happening because of some dhcp domain change. Fixed.

··· On Sunday, January 4, 2015 4:52:40 PM UTC+1, yamaka...@gmail.com wrote: > > As far as I can debug this the host is getting it's domainname from one or > two parent before it's own group. BUt as I overwrite it in it's own group I > wonder why this this goes wrong. > > > > On Sunday, January 4, 2015 2:31:09 PM UTC+1, yamaka...@gmail.com wrote: >> >> Hi on a 1.7.1 (and also 1.6.3) my installed host gets a wrong hostname in >> /etc/hosts >> >> The domainname should be: >> >> hostname.foo4.foo3.foo2.foo1.foo.local >> But it get's >> >> hostname.foo3.foo2.foo1.foo.local >> >> >> When creating the VM the DNS names are set right and I can ping >> hostname.foo4.foo3.foo2.foo1.foo.local >> Also subnets/domains are OK. >> >> This host is in a very deep nested hostgroup, could this be a problem ? >> >> I'm out of options. >> >> Cheers, >> >> Matt >> >