Add selinux check in Troubleshooting PXE boot document
If node receiving DHCP address and failing to get kernel and/or ramdisk, it maybe the selinux is enforcing. We can let TFTP packet through selinux by setting: setsebool -P tftp_home_dir 1 Change-Id: I574f8fdf819ea65dd9177c5ce9a78825ea4feec1
This commit is contained in:
parent
1401439a6f
commit
112ab521ae
@ -90,6 +90,18 @@ ramdisk or to boot them, make sure that:
|
||||
|
||||
#. no firewall rules prevent access to TFTP port,
|
||||
|
||||
#. SELinux is configured properly to allow external TFTP access,
|
||||
|
||||
If SELinux is neither permissive nor disabled,
|
||||
you should config ``tftp_home_dir`` in SELinux by executing the command
|
||||
::
|
||||
|
||||
$ sudo setsebool -P tftp_home_dir 1
|
||||
|
||||
See `the man page`_ for more details.
|
||||
|
||||
.. _the man page: https://www.systutorials.com/docs/linux/man/8-tftpd_selinux/
|
||||
|
||||
#. DHCP server is correctly set to point to the TFTP server,
|
||||
|
||||
#. ``pxelinux.cfg/default`` within TFTP root contains correct reference to the
|
||||
|
Loading…
Reference in New Issue
Block a user