On Tue, Mar 5, 2013 at 12:22 AM, Zack Perry <zack.pe...@sbcglobal.net>wrote:
> I have been using 2.4.0beta2 for a while successfully. Wishing to keep up > with cobbler's evoluation, this evening I decided to try (in a fresh SL 6.3 > KVM guest) 2.4.0 beta 3. > > Upon importing Fedora 17 x86_64, I immediately noticed that the distro > object has a new attribute: > > (A) 2.4.0 beta2 > > [root@cobbler ~]# cobbler distro report --name=fedora17-x86_64 > Name : fedora17-x86_64 > Architecture : x86_64 > TFTP Boot Files : {} > Breed : redhat > Comment : > Fetchable Files : {} > Initrd : > /var/www/cobbler/ks_mirror/fedora17-x86_64/images/pxeboot/initrd.img > Kernel : > /var/www/cobbler/ks_mirror/fedora17-x86_64/images/pxeboot/vmlinuz > Kernel Options : {} > Kernel Options (Post Install) : {} > Kickstart Metadata : {'tree': 'http://@@http_server@ > @/cblr/links/fedora17-x86_64'} > Management Classes : [] > OS Version : fedora17 > Owners : ['admin'] > Red Hat Management Key : <<inherit>> > Red Hat Management Server : <<inherit>> > Template Files : {} > > (B) 2.4.0 beta 3 > > [root@sl0 ~]# cobbler distro report --name=fedora17-x86_64 > Name : fedora17-x86_64 > Architecture : x86_64 > TFTP Boot Files : {} > Breed : redhat > Comment : > Fetchable Files : {} > Initrd : > /var/www/cobbler/ks_mirror/fedora17-x86_64/images/pxeboot/initrd.img > Kernel : > /var/www/cobbler/ks_mirror/fedora17-x86_64/images/pxeboot/vmlinuz > Kernel Options : {'repo': '$tree'} > Kernel Options (Post Install) : {} > Kickstart Metadata : {'tree': 'http://@@http_server@ > @/cblr/links/fedora17-x86_64'} > Management Classes : [] > OS Version : fedora17 > Owners : ['admin'] > Red Hat Management Key : <<inherit>> > Red Hat Management Server : <<inherit>> > Template Files : {} > > > The Kerneal Options now has {'repo': '$tree'} which now causes koan to > fail. See below the virt-install output by koan: > > - ['virt-install', '--connect', 'qemu:///system', '--name', 'zalb0', > '--ram', '512', '--vcpus', '1', '--autostart', '--vnc', '--virt-type', > 'kvm', '--machine', 'pc', '--extra-args=ks= > http://192.168.123.2/cblr/svc/op/ks/system/zalb0 ksdevice=link repo=$tree > lang= kssendmac ', '--location', ' > http://192.168.123.2/cblr/links/fedora17-x86_64/', '--arch', 'x86_64', > '--os-variant', 'fedora17', '--disk', > 'path=/dev/vg/zalb0,size=5,bus=virtio,driver_type=raw', '--network', > 'bridge=br0,model=virtio,mac=00:16:3e:14:13:99', '--network', > 'bridge=virbr1,model=virtio,mac=00:16:3e:3f:9c:ed', '--wait', '0', > '--noautoconsole'] > > Note that the unsubstituted repo=$tree after the '--extra-args'. > > I checked the man page but didn'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. This was added due to the new requirement of fedora to set that parameter. I'll take a look at the koan code to see where the issue is. I thought I had added code to expand that: commit a93739f15771228e3e23bc9ad07cc3d6e532f5a1 Author: James Cammarata <j...@sngx.net> Date: Fri Nov 2 21:50:50 2012 -0500 Kernel options are now evaluated as templates for variable substitution Also fixed up the post_install_kernel_options snippet for grub2 systems where grubby doesn't work well That's the commit for master, here's the commit hash for it in the cobbler-2.4.0-beta3 tag: commit 4cc72e09dbf9328e5b773a95e1d27f7ea155d18e Author: James Cammarata <j...@sngx.net> Date: Fri Nov 2 21:50:50 2012 -0500 Kernel options are now evaluated as templates for variable substitution Also fixed up the post_install_kernel_options snippet for grub2 systems where grubby doesn't work well
_______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler