[Spacewalk-list] Cobbler / PXE / tftp

Waldirio Manhães Pinheiro waldirio at gmail.com
Fri Oct 24 18:27:52 UTC 2014


Friends

Sorry, adding information in my email

[root at spacewalk ~]# rpm -ql syslinux-tftpboot
/tftpboot
/tftpboot/cat.c32
/tftpboot/chain.c32
/tftpboot/cmd.c32
/tftpboot/config.c32
/tftpboot/cpuid.c32
/tftpboot/cpuidtest.c32
/tftpboot/disk.c32
/tftpboot/dmitest.c32
/tftpboot/elf.c32
/tftpboot/ethersel.c32
/tftpboot/gfxboot.c32
/tftpboot/gpxecmd.c32
/tftpboot/gpxelinux.0
/tftpboot/hdt.c32
/tftpboot/host.c32
/tftpboot/ifcpu.c32
/tftpboot/ifcpu64.c32
...

B'Regards

______________
Atenciosamente
Waldirio
msn: waldirio at gmail.com
Skype: waldirio
Site: www.waldirio.com.br
Blog: blog.waldirio.com.br
LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
PGP: www.waldirio.com.br/public.html

On Fri, Oct 24, 2014 at 4:09 PM, Waldirio Manhães Pinheiro <
waldirio at gmail.com> wrote:

> Friends
>
> I found a BZ about this case (
> https://bugzilla.redhat.com/show_bug.cgi?id=872951). I really appreciate
> your comments about what is the best to do, for example
>
> - Open a BZ to change a default chroot from tftp-server to /tftpboot ?!
> - Do a copy from these files (pxelinux.0 and menu.c32) to /var/lib/tftpboot
> - Anything else ?!?! :-)
>
>
>
> ______________
> Atenciosamente
> Waldirio
> msn: waldirio at gmail.com
> Skype: waldirio
> Site: www.waldirio.com.br
> Blog: blog.waldirio.com.br
> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
> PGP: www.waldirio.com.br/public.html
>
> On Fri, Oct 24, 2014 at 3:58 PM, Waldirio Manhães Pinheiro <
> waldirio at gmail.com> wrote:
>
>> Hello Friend,
>>
>> I'm implementing the PXE with cobbler to execute new installations. The
>> pre-req is:
>>
>> Server Side
>>
>> - DHCP with conf like bellow, assuming my SW be 192.168.56.250
>> ###
>> allow booting;
>> allow bootp;
>> class "PXE" {
>>   match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";
>>   next-server 192.168.56.250;
>>   filename "pxelinux.0";
>> }
>> ###
>>
>> - Install the package cobbler-loaders
>> ###
>> [root at spacewalk tftpboot]# rpm -ql cobbler-loaders
>> /var/lib/cobbler/loaders
>> /var/lib/cobbler/loaders/COPYING.elilo
>> /var/lib/cobbler/loaders/COPYING.yaboot
>> /var/lib/cobbler/loaders/README
>> /var/lib/cobbler/loaders/elilo-ia64.efi
>> /var/lib/cobbler/loaders/menu.c32
>> /var/lib/cobbler/loaders/pxelinux.0
>> /var/lib/cobbler/loaders/yaboot
>> [root at spacewalk tftpboot]#
>> ###
>>
>> - Enable tftp and xinetd, when checking the tftp conf file, I can see
>> ###
>> [root at spacewalk tftpboot]# rpm -ql tftp-server-0.49-7.el6.x86_64
>> /etc/xinetd.d/tftp
>> /usr/sbin/in.tftpd
>> /usr/share/doc/tftp-server-0.49
>> /usr/share/doc/tftp-server-0.49/CHANGES
>> /usr/share/doc/tftp-server-0.49/README
>> /usr/share/doc/tftp-server-0.49/README.security
>> /usr/share/doc/tftp-server-0.49/README.security.tftpboot
>> /usr/share/man/man8/in.tftpd.8.gz
>> /usr/share/man/man8/tftpd.8.gz
>> /var/lib/tftpboot
>> [root at spacewalk tftpboot]#
>> ###
>>
>> and the conf. file /etc/xinetd.d/tftp point to directory /var/lib/tftpboot
>> ###
>> [root at spacewalk tftpboot]# cat /etc/xinetd.d/tftp
>> # default: off
>> # description: The tftp server serves files using the trivial file
>> transfer \
>> #       protocol.  The tftp protocol is often used to boot diskless \
>> #       workstations, download configuration files to network-aware
>> printers, \
>> #       and to start the installation process for some operating systems.
>> service tftp
>> {
>>         disable = no
>>         socket_type             = dgram
>>         protocol                = udp
>>         wait                    = yes
>>         user                    = root
>>         server                  = /usr/sbin/in.tftpd
>>         server_args             = -s /var/lib/tftpboot
>>         per_source              = 11
>>         cps                     = 100 2
>>         flags                   = IPv4
>> }
>> [root at spacewalk tftpboot]#
>> ###
>>
>> So, to conclude, what I can do is copy pxelinux.0 and menu.c32 from
>> /tftpboot to /var/lib/tftpboot. After this, works fine.
>>
>> Ps.: I can't find any package where the file pxelinux.0 is located in
>> /var/lib/tftpboot.
>>
>> Ps.: In formal documentation, there isn't any "attention note" about it.
>>
>> Appreciate your comments.
>>
>>
>> ______________
>> B'Regards
>> Waldirio
>> msn: waldirio at gmail.com
>> Skype: waldirio
>> Site: www.waldirio.com.br
>> Blog: blog.waldirio.com.br
>> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
>> PGP: www.waldirio.com.br/public.html
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20141024/202cf513/attachment.htm>


More information about the Spacewalk-list mailing list