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

Josh joshborke at gmail.com
Tue Nov 29 01:42:06 UTC 2011


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




More information about the Spacewalk-list mailing list