Using the following in my kickstart template, I was able to render the mac address for eth0:

$getVar('$mac_address_eth0')

Confirmed working using the following command which prints out the rendered kickstart profile:

cobbler system getks --name=<system_name>
   

On Tue, Feb 23, 2010 at 9:58 AM, Luc de Louw <luc@delouw.ch> wrote:
Dear all,

I tried the VMWare detection snipped at
https://fedorahosted.org/cobbler/wiki/KickstartSnippets and it fails,
no MAC address found.

$system.interfaces['eth0']['mac_address'] does not show anything.
cobbler system dumpvars --name=blah shows the mac_address as expected.

Used cobbler version: 2.0.3

Any hints?

Thanks,

Luc
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler