On Tue, Mar 5, 2013 at 12:22 AM, Zack Perry <span dir="ltr">&lt;<a href="mailto:zack.perry@sbcglobal.net" target="_blank">zack.perry@sbcglobal.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">
I have been using 2.4.0beta2 for a while successfully. Wishing to keep up with cobbler&#39;s evoluation, this evening I decided to try (in a fresh SL 6.3 KVM guest) 2.4.0 beta 3.<br>
<br>
Upon importing Fedora 17 x86_64, I immediately noticed that the distro object has a new attribute:<br>
<br>
(A) 2.4.0 beta2<br>
<br>
[root@cobbler ~]# cobbler distro report --name=fedora17-x86_64<br>
Name                           : fedora17-x86_64<br>
Architecture                   : x86_64<br>
TFTP Boot Files                : {}<br>
Breed                          : redhat<br>
Comment                        :<br>
Fetchable Files                : {}<br>
Initrd                         : /var/www/cobbler/ks_mirror/fedora17-x86_64/images/pxeboot/initrd.img<br>
Kernel                         : /var/www/cobbler/ks_mirror/fedora17-x86_64/images/pxeboot/vmlinuz<br>
Kernel Options                 : {}<br>
Kernel Options (Post Install)  : {}<br>
Kickstart Metadata             : {&#39;tree&#39;: &#39;http://@@http_server@@/cblr/links/fedora17-x86_64&#39;}<br>
Management Classes             : []<br>
OS Version                     : fedora17<br>
Owners                         : [&#39;admin&#39;]<br>
Red Hat Management Key         : &lt;&lt;inherit&gt;&gt;<br>
Red Hat Management Server      : &lt;&lt;inherit&gt;&gt;<br>
Template Files                 : {}<br>
<br>
(B) 2.4.0 beta 3<br>
<br>
[root@sl0 ~]# cobbler distro report --name=fedora17-x86_64<br>
Name                           : fedora17-x86_64<br>
Architecture                   : x86_64<br>
TFTP Boot Files                : {}<br>
Breed                          : redhat<br>
Comment                        :<br>
Fetchable Files                : {}<br>
Initrd                         : /var/www/cobbler/ks_mirror/fedora17-x86_64/images/pxeboot/initrd.img<br>
Kernel                         : /var/www/cobbler/ks_mirror/fedora17-x86_64/images/pxeboot/vmlinuz<br>
Kernel Options                 : {&#39;repo&#39;: &#39;$tree&#39;}<br>
Kernel Options (Post Install)  : {}<br>
Kickstart Metadata             : {&#39;tree&#39;: &#39;http://@@http_server@@/cblr/links/fedora17-x86_64&#39;}<br>
Management Classes             : []<br>
OS Version                     : fedora17<br>
Owners                         : [&#39;admin&#39;]<br>
Red Hat Management Key         : &lt;&lt;inherit&gt;&gt;<br>
Red Hat Management Server      : &lt;&lt;inherit&gt;&gt;<br>
Template Files                 : {}<br>
<br>
<br>
The Kerneal Options now has {&#39;repo&#39;: &#39;$tree&#39;} which now causes koan to fail. See below the virt-install output by koan:<br>
<br>
- [&#39;virt-install&#39;, &#39;--connect&#39;, &#39;qemu:///system&#39;, &#39;--name&#39;, &#39;zalb0&#39;, &#39;--ram&#39;, &#39;512&#39;, &#39;--vcpus&#39;, &#39;1&#39;, &#39;--autostart&#39;, &#39;--vnc&#39;, &#39;--virt-type&#39;, &#39;kvm&#39;, &#39;--machine&#39;, &#39;pc&#39;, &#39;--extra-args=ks=<a href="http://192.168.123.2/cblr/svc/op/ks/system/zalb0" target="_blank">http://192.168.123.2/cblr/svc/op/ks/system/zalb0</a> ksdevice=link repo=$tree lang= kssendmac &#39;, &#39;--location&#39;, &#39;<a href="http://192.168.123.2/cblr/links/fedora17-x86_64/" target="_blank">http://192.168.123.2/cblr/links/fedora17-x86_64/</a>&#39;, &#39;--arch&#39;, &#39;x86_64&#39;, &#39;--os-variant&#39;, &#39;fedora17&#39;, &#39;--disk&#39;, &#39;path=/dev/vg/zalb0,size=5,bus=virtio,driver_type=raw&#39;, &#39;--network&#39;, &#39;bridge=br0,model=virtio,mac=00:16:3e:14:13:99&#39;, &#39;--network&#39;, &#39;bridge=virbr1,model=virtio,mac=00:16:3e:3f:9c:ed&#39;, &#39;--wait&#39;, &#39;0&#39;, &#39;--noautoconsole&#39;]<br>

<br>
Note that the unsubstituted repo=$tree after the &#39;--extra-args&#39;.<br>
<br>
I checked the man page but didn&#39;t see any clues as to where to set the tree parameter.  cobbler system dumpvars also shows this unsubstituted parameter.  I would be appreciative of any hints.</blockquote><div><br></div>
<div>This was added due to the new requirement of fedora to set that parameter. I&#39;ll take a look at the koan code to see where the issue is. I thought I had added code to expand that:</div><div><br></div><div>commit a93739f15771228e3e23bc9ad07cc3d6e532f5a1</div>
<div>Author: James Cammarata &lt;<a href="mailto:jimi@sngx.net">jimi@sngx.net</a>&gt;</div><div>Date:   Fri Nov 2 21:50:50 2012 -0500</div><div><br></div><div>    Kernel options are now evaluated as templates for variable substitution</div>
<div>    Also fixed up the post_install_kernel_options snippet for grub2 systems where grubby doesn&#39;t work well</div><div><br></div><div>That&#39;s the commit for master, here&#39;s the commit hash for it in the cobbler-2.4.0-beta3 tag:</div>
<div><br></div><div><div>commit 4cc72e09dbf9328e5b773a95e1d27f7ea155d18e</div><div>Author: James Cammarata &lt;<a href="mailto:jimi@sngx.net">jimi@sngx.net</a>&gt;</div><div>Date:   Fri Nov 2 21:50:50 2012 -0500</div><div>
<br></div><div>    Kernel options are now evaluated as templates for variable substitution</div><div>    Also fixed up the post_install_kernel_options snippet for grub2 systems where grubby doesn&#39;t work well</div></div>
<div><br></div></div>