[Spacewalk-list] rhn.system.net_interface.ip_address

Issam Harrathi issamneo at gmail.com
Thu Jun 20 09:56:28 UTC 2013


Hi all,
we can see those value(standard macros) with cobbler command:
cobbler system report --name=VM2.local.test:2 | grep IP | grep Ad

and it gives this:
IP Address                     : 192.168.0.2
IPv6 Address                   :
IP Address                     : 172.84.12.254
IPv6 Address                   :

and interface are named eth0 and eth1:
cobbler system report --name=VM2.local.test:2 | grep -eth
....
Interface =====                : eth1
Interface =====                : eth0



*The problem* is that when i deploy on my server a file like this:
IPADDR0={| rhn.system.net_interface.ip_address(eth0) |}

IPADDR1={| rhn.system.net_interface.ip_address(eth1) |}

 I don't get the value of 172.84.12.254. !!!

*The question:*
Can i see the value of those macros (
 rhn.system.sid,    rhn.system.profile_name, rhn.system.description,
rhn.system.hostname)  from the WebInterface of spacewalk like i can see the
custom-system-info.

and do you know why my IP 172.84.12.254 are not pushed, but the other IP
192.168.0.2 is pushed?

Thanks for alll
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130620/c92a6fd9/attachment.htm>


More information about the Spacewalk-list mailing list