<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.3790.2817" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=578170815-19072007>Hey
people,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=578170815-19072007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=578170815-19072007>I am trying to use
the ksmeta="" construct to pass a list of dictionaries through to the kickstart
file where I am using a cheetah "#for $var in $vars" loop to unravel
them.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=578170815-19072007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=578170815-19072007>Is this
possible?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=578170815-19072007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=578170815-19072007>TIA</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=578170815-19072007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=578170815-19072007>Dan</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=578170815-19072007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=578170815-19072007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=578170815-19072007>PS this is what I am
trying to do;</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=578170815-19072007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=578170815-19072007>cobbler profile edit
--name=RHEL44-ORACLE10G-i386 --ksmeta="nics=[{ 'dev': 'eth0', 'bootproto':
'dhcp'},{ 'dev': 'eth1', 'bootproto': 'dhcp'}]"</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=578170815-19072007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=578170815-19072007>and the kickstart
file has the following snippet in it;</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=578170815-19072007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=578170815-19072007>#for $nic in
$nics<BR>$nic_string = "network"<BR>#for $key, $value in
$nic.items()<BR>$nic_string = $nic_string + " --%s %s" % ( $key, $value
)<BR>#end for<BR>#end for<BR></SPAN></FONT></DIV>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">************************************************************************ </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">DISCLAIMER </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">The information contained in this e-mail is confidential and is intended </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">for the recipient only. </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">If you have received it in error, please notify us immediately by reply </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">e-mail and then delete it from your system. Please do not copy it or </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">use it for any other purposes, or disclose the content of the e-mail </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">to any other person or store or copy the information in any medium. </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">The views contained in this e-mail are those of the author and not </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">necessarily those of Admenta UK Group. </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;"> </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">Admenta UK plc is a company incorporated in England and Wales </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">under company number 3011757 and whose registered office </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">is at Sapphire Court, Walsgrave Triangle, Coventry CV2 2TX </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">************************************************************************ </SPAN> </P></BODY></HTML>