On Mon, Mar 4, 2013 at 7:09 AM, Harry Hoffman <span dir="ltr">&lt;<a href="mailto:hhoffman@ip-solutions.net" target="_blank">hhoffman@ip-solutions.net</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks guys,<br>
<br>
The typo was just in my email. But that code didn&#39;t work.<br>
<br>
What did was the following:<br>
#set uname = $users.split(&quot;,&quot;)<br>
#for $name in $uname<br>
user --name=$name<br>
#end for<br></blockquote><div><br>In that case, you may want to use:</div><div><br></div><div>#set $uname = $getVar(&quot;users&quot;,&quot;&quot;).split(&quot;,&quot;)</div><div><div>#for $name in $uname</div><div>user --name=$name</div>
<div>#end for</div></div><div><br></div><div>I&#39;ve tested this as follows:</div><div><br></div><div>$ cobbler system edit --name=test2 --ksmeta=&quot;users=test1,test2,test3&quot;</div><div>$ cobbler system getks --name=test2 | grep name=test</div>
<div>user --name=test1</div><div>user --name=test2</div><div>user --name=test3</div><div><br></div></div>