[et-mgmt-tools] virsh failed to get local hostname

Rodrique Heron rheron at inferencedata.com
Tue Jul 21 20:25:49 UTC 2009



-----Original Message-----
From: David Huff [mailto:dhuff at redhat.com] 
Sent: Tuesday, July 21, 2009 3:02 PM
To: Fedora/Linux Management Tools
Cc: Rodrique Heron
Subject: Re: [et-mgmt-tools] virsh failed to get local hostname

Cole Robinson wrote:
> Rodrique Heron wrote:
>> You probably want to set HOSTNAME in /etc/sysconfig/network . You can
>> then reboot the machine, or use the command:
>>
>> 'hostname <desired.host.name>'
>>
>> - Cole
>>
>> I have /etc/sysconfig/network configured already.
>>
>> [root at N1-I-FKVM-01 ~]# cat /etc/sysconfig/network
>> NETWORKING=yes
>> HOSTNAME=N1-I-FKVM-01
>>
>> Thanks
>>
> 
> Not really sure then. I'd say file a bug against libvirt.
> 
> - Cole

I ran across this issue this AM, make sure that dns queries work for the
hostname, once I added the host to my dns records everything started
working again.

-D

Yep, works for me now!  This should not require a A record to work, /etc/hosts should be enough.

Thanks




More information about the et-mgmt-tools mailing list