Re: [Spacewalk-devel] client/rhel

2011-12-01 Thread Jan Pazdziora
On Wed, Nov 30, 2011 at 06:42:54PM +0100, Miroslav Suchy wrote: in the hostname. You should really check (and test) various scenarios, not overwrite the hostname if it already is set from the IPv4 pass, and not set it if you get IP address back. How should I decide which hostname is

Re: [Spacewalk-devel] client/rhel

2011-11-30 Thread Jan Pazdziora
On Wed, Nov 30, 2011 at 04:22:40PM +, Miroslav Suchý wrote: client/rhel/rhn-client-tools/src/up2date_client/hardware.py |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) New commits: commit 7c2b37ad9dd2a972e04bb31cbb021047c6572564 Author: Miroslav Suchý msu...@redhat.com

Re: [Spacewalk-devel] client/rhel

2011-11-30 Thread Miroslav Suchy
Dne 30.11.2011 17:40, Jan Pazdziora napsal(a): I don't think you want to just blindly set what getfqdn returns. In most cases, IPv4 addresses will have better DNS records than IPv6 but That is just assumption. In most cases correct. But all this code is just wild heuristics trying to do less