Problem:
I am starting with provisioning of servers via PXE boot from foreman/katello using the synced content. I have got it working with the predefined external installation medias from mirror.centos.org. However, I want to use the synced content and I can set everything up, however, the boot kernel and initrd in tftp are empty:
# ls -la /var/lib/tftpboot/boot/
total 141648
drwxr-xr-x. 2 foreman-proxy root 4096 Jan 15 09:12 .
drwxr-xr-x. 8 root root 177 May 12 2020 ..
-rw-r--r--. 1 foreman-proxy foreman-proxy 0 Jan 15 07:54 centos-7-base-30554-initrd.img
-rw-r--r--. 1 foreman-proxy foreman-proxy 0 Jan 15 07:54 centos-7-base-30554-vmlinuz
-rw-r--r--. 1 foreman-proxy foreman-proxy 0 Jan 15 09:12 centos-8-base-30724-initrd.img
-rw-r--r--. 1 foreman-proxy foreman-proxy 0 Jan 15 09:12 centos-8-base-30724-vmlinuz
-rw-r--r--. 1 foreman-proxy foreman-proxy 73623376 Nov 18 21:59 centos-8-mirror-vhXw3RnU7BDi-initrd.img
-rw-r--r--. 1 foreman-proxy foreman-proxy 9514120 Sep 25 21:57 centos-8-mirror-vhXw3RnU7BDi-vmlinuz
-rw-r--r--. 1 foreman-proxy foreman-proxy 55129656 Oct 26 17:25 centos-mirror-v21mbm04pSQW-initrd.img
-rw-r--r--. 1 foreman-proxy foreman-proxy 6769256 Oct 19 18:23 centos-mirror-v21mbm04pSQW-vmlinuz
Obviously, booting centos-8-base-30724-vmlinuz won’t work. How do I fix this?
Foreman and Proxy versions:
Katello 3.18.1, Foreman 2.3.1
Distribution and version:
CentOS 7.9.2009