Jeff Schroeder wrote:
> On Thu, Jun 18, 2009 at 12:51 PM, Leonid Flaks<[email protected]> wrote:
>> keep_ssh_host_keys worked great for me on Fedora 10, but does not work
>> on Fedora 11. 
>> Any idea how that would be done in Fedora 11?
> 
> As the original author of the snippet I can help you troubleshoot it.
> Debugging things in %pre is difficult.
> 
> On your workstation or the cobbler server, setup a netcat listener.
> You can do this:
> while true; do nc -l 8180; done
> 
> In the kickstart template somewhere very early, in %pre put something
> roughly like this:
> list-harddrives | nc $NETCAT_LISTENER_IP 8180
> 
Did all of that.
> Then start a kickstart. The output of list-harddrives will be spit to
> stdout on your netcat listener and you can try to follow the logic of
> the snippet from there. What output does that give you on a fedora 11
> build? Also do you have any special partitioning snippet?
No output from list-harddrives at all. I am not using any snippets for 
partitioning.
Did some other tests, found that we can use 'parted -l' or just 
/proc/partitions information. The later is much faster.

Subscribed to devel-list, will submit patch to the snippet. It should 
work on all fedora distros (checked on f8 -f11) Did not test on other 
distros.
> 
> Awesome!
> 
Thanks for help!

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

Reply via email to