<div dir="ltr">Specifically the create distrobution step :), you need to do this on top of the repo create. You grab a copy of the iso, make its dir, mount it <div><br></div><div><div class="" style="border:1px solid rgb(212,212,212);font-family:sans-serif;font-size:16px;line-height:22.3999996185303px;background-image:initial;background-repeat:initial"><pre style="margin-left:auto;font-family:monospace,serif;font-size:0.9em;white-space:pre-wrap;word-wrap:break-word;width:703.09375px"><code class="" style="font-family:monospace,serif;font-size:0.9em">mkdir -p /var/distro-trees/centos-64-64/
mount -o loop ~/CentOS-6.4-x86_64-bin-DVD1.iso /var/distro-trees/centos-64-64/</code></pre></div><p style="margin:1em 0px;font-family:sans-serif;font-size:16px;line-height:22.3999996185303px;background-color:rgb(250,250,250)">After this create the distribution though the interface (systems -> kickstarts -> distributions -> create new distribution ). Not sure how to do it through spacecmd but they are well labled :)</p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 8 October 2014 10:45, Reed, Steven <span dir="ltr"><<a href="mailto:Steven.Reed@transport.nsw.gov.au" target="_blank">Steven.Reed@transport.nsw.gov.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-AU" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Download the latest ISO image for centos 6<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Mount that iso to somewhere<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Cd to the mounted dir<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">find . ! -path "./Packages/*" | cpio -pvd /path/to/centos-6_64  (your new KS dir<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">create channel, activation key and bind<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">spacewalk-repo-sync -c centos6-x86_64<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Create new KS profile<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Repeat for updates, etc<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.com</a> [mailto:<a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.com</a>]
<b>On Behalf Of </b>Waldirio Manhães Pinheiro<br>
<b>Sent:</b> Wednesday, 8 October 2014 1:18 PM<br>
<b>To:</b> <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a><span class=""><br>
<b>Subject:</b> [Spacewalk-list] kickstart tree after repo sync using<u></u><u></u></span></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Dear friends, good morning<u></u><u></u></p><div><div class="h5">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">After create a repo/base channel and sync with flag "--sync-kickstart" checked (via cli or webUi), I can't see the kickstart tree when creating a new ks profile.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">IMHO should appear automatically the structure of the OS that we had a complete download/sync. That´s correct ?!<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I'm using spacewalk 2.2<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Bellow my steps<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">1. Create a new repo<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">2. Create a new channel and link with repo<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">3. Synchronize the channel<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">4. After complete, try to create a new ks profile<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">What appear when I try to create a new ks<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">In Base Channel appear: No Kickstartable Channel found.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">In Kickstartable Tree: No trees were found for the selected channel<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">What I wish :)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Show the ks structure for the version that was realized the download/sync, for example, CentOS6.5<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I can create the structure manually and this works fine, but I really believe, just selecting the option --sync-kickstart should works. That's correct ?!<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Bellow a command sample to sync<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"># spacewalk-repo-sync -crepo1 --url=<a href="http://mirror.globo.com/centos/6.5/os/x86_64/" target="_blank">http://mirror.globo.com/centos/6.5/os/x86_64/</a> --sync-kickstart<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks for your help!<u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">______________<br>
B'Regards<br>
Waldirio<br>
msn: <a href="mailto:waldirio@gmail.com" target="_blank">waldirio@gmail.com</a><br>
Skype: waldirio<br>
Site: <a href="http://www.waldirio.com.br" target="_blank">www.waldirio.com.br</a><br>
Blog: <a href="http://blog.waldirio.com.br" target="_blank">blog.waldirio.com.br</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">LinkedIn: <a href="http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646" target="_blank">
http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646</a><br>
PGP: <a href="http://www.waldirio.com.br/public.html" target="_blank">www.waldirio.com.br/public.html</a><u></u><u></u></p>
</div>
</div>
</div>
</div></div></div>
</div>
<br>
<hr>
<font face="Arial" color="Black">This email (including any attachments) may contain confidential and/or legally privileged information and is intended only to be read or used by the addressee(s). If you have received this email in error, please notify
 the sender by return email, delete this email and destroy any copy. Any use, distribution, disclosure or copying of this email by a person who is not the intended recipient is not authorised.<br>
<br>
Views expressed in this email are those of the individual sender, and are not necessarily the views of Transport for NSW, Department of Transport or any other NSW government agency. Transport for NSW and the Department of Transport assume no liability for any
 loss, damage or other consequence which may arise from opening or using an email or attachment.<br>
Please visit us at <a href="http://www.transport.nsw.gov.au" target="_blank">http://www.transport.nsw.gov.au</a> or <a href="http://www.transportnsw.info" target="_blank">http://www.transportnsw.info</a><br>
</font>
</div>

<br>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br></div>