[Spacewalk-list] Macro not updating when host name changes

Colin Coe colin.coe at gmail.com
Tue Nov 29 01:53:52 UTC 2011


On Tue, Nov 29, 2011 at 9:42 AM, Josh <joshborke at gmail.com> wrote:
> On 11/28/2011 08:27 PM, Colin Coe wrote:
>>
>> Hi all
>>
>> I have this in my managed /etc/hosts file:
>> ---
>> 127.0.0.1   localhost localhost.localdomain localhost4
>> localhost4.localdomain4
>> ::1         localhost localhost.localdomain localhost6
>> localhost6.localdomain6
>>
>> {| rhn.system.ip_address |}     {| rhn.system.hostname |}.example.com   {|
>> rhn.system.hostname |}
>> ---
>>
>> Recently I renamed a host (RHEL6) and now i find that the macro {|
>> rhn.system.hostname |} still resolves to the host's original name.
>>
>> Is this a known bug?  Do I need to file a bugzilla?
>>
>> Thanks
>>
>> CC
>>
> Did you schedule a profile refresh?  Perhaps it is caching what was stored
> in spacewalk.  I'm just shooting off the cuff so I could be completely
> wrong.
>
> Hope it helps.
> -josh
>

Doh, I should have know that.  Thanks Josh.

rhn-profile-sync

CC

-- 
RHCE#805007969328369




More information about the Spacewalk-list mailing list