MAC Address Entry not Getting generated in pxelinux.cfg for CentOS 7.2 after provision

Hi All, Need your help in getting this resolved.

In CentOS 7.2
When I provision the newly discovered host, the MAC Address entry (as file
is not getting generated)

[root@sdin-swt-ct-07 pxelinux.cfg]# cd /var/lib/tftpboot/pxelinux.cfg
[root@sdin-swt-ct-07 pxelinux.cfg]# ls -lrt
total 8
-rwxr-xr-x. 1 foreman-proxy foreman-proxy 507 Jul 20 16:49 default
[root@sdin-swt-ct-07 pxelinux.cfg]#

I have installed CentOS 7.2 and installed foreman in that.

[root@sdin-swt-ct-07 pxelinux.cfg]# puppet --version
4.5.2
[root@sdin-swt-ct-07 pxelinux.cfg]#

I tried to do rebuild config also and this file is not getting generated. I
have even changed the permissions of /var/lib/tftpboot to 755 in case there
is any permissions issue.

Becasue of this my discovered machine is in loop and I am just able to send
FDI image and not any other Image.

Please advice here.

Thanks
-Vishal

In Cent OS 6.8

This is the case from another machine where CentOS 6.8 is installed. There
also at provision is was not getting generated while I say rebuild config
the same file was getting generated. See below.

[root@sdin-swt-ct-04 pxelinux.cfg]# ls -lrt
total 8
-rwxr-xr-x. 1 foreman-proxy foreman-proxy 507 Jul 20 16:49 default
-rwxr-xr-x. 1 foreman-proxy foreman-proxy 167 Jul 20 18:11
01-30-5a-3a-4b-06-52
[root@sdin-swt-ct-04 pxelinux.cfg]

There are many conditions for this file to be created, I'd check through
this list very carefully:

http://projects.theforeman.org/projects/foreman/wiki/Troubleshooting#No-TFTP-menus-or-files-are-created-for-new-hosts

··· On 20/07/16 14:46, Vishal Sarin wrote: > *_In CentOS 7.2_* > When I provision the newly discovered host, the MAC Address entry (as > file is not getting generated) > > > [root@sdin-swt-ct-07 pxelinux.cfg]# cd /var/lib/tftpboot/pxelinux.cfg > [root@sdin-swt-ct-07 pxelinux.cfg]# ls -lrt > total 8 > -rwxr-xr-x. 1 foreman-proxy foreman-proxy 507 Jul 20 16:49 default > [root@sdin-swt-ct-07 pxelinux.cfg]# > > I have installed CentOS 7.2 and installed foreman in that.


Dominic Cleal
dominic@cleal.org