Michael DeHaan wrote:
> Simon Woolsgrove wrote:
>   
>> Thanks Tom, was using the earlier koan, tested now with 1.2 but the same 
>> result 
>>
>> # koan  -s cobbler --replace-self
>> ..
>> - ['/sbin/grubby', '--add-kernel', '/boot/vmlinuz', '--initrd', 
>> '/boot/initrd.img', '--args', 'ksdevice=eth0 lang= text 
>> ks=http://cobbler/cblr
>> /svc/op/ks/system/fred kssendmac ', '--copy-default', '--make-default', 
>> '--title=kick12
>> 21732788']
>>
>> However I did notice the -k option so running
>>
>> # koan  -s cobbler -k ks=file:/ks.cfg --replace-self
>> ...
>> - ['/sbin/grubby', '--add-kernel', '/boot/vmlinuz', '--initrd', 
>> '/boot/initrd.img', '--args', 'ksdevice=eth0 lang= text ks=file:/ks.cfg  
>> kssendmac ', '--copy-default', '--make-default', '--title=kick1221735005']
>>
>> Which gives me what I need and the build will complete without any 
>> interaction, putting the IP details on the boot line is an option, but this 
>> seems simpler ...
>>
>> Cheers,
>> Simon 
>>   
>>     
>
>
> Grubby should be setting the file to file:/ks.cfg for --replace-self, so 
> what you mention is definitely a bug.
>
> Thanks for pointing this out.   I'll take care of it and include it in 
> the next koan release.
>
> --Michael


Here's the patch:

http://git.fedorahosted.org/git/?p=koan;a=commitdiff;h=9cb7b127b39917d80e3de5ca2622d300fd0239dc

We can do a release for koan next week that includes this.

--Michael



_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to