Failed to fetch kickstart for CentOS 8 install

New installation - Foreman 2.1 on CentOS 7 - to provision CentOS 8 clients
After PXE boot I get a 404 on the kickstart file and send up in a single user prompt

Expected outcome:
CentOS 8 VM and bare metal provisioning

Foreman and Proxy versions:
Foreman 2.1.1

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:
“GET /unattended/provision?token=1227c343-a8dc-4bf9-9639-04f8ee90b5e4 HTTP/1.1” 404 71 “-” “curl/7.61.1”

from the console (and file /run/intramfs/rdsosreport.txt)
curl: (22) The requested URL returned error: 404 Not Found
Warning: anaconda: failed to fetch kickstart from

pxelinux.cfg file for this VM:

# This file was deployed via 'Kickstart default PXELinux' template
MENU TITLE Booting into OS installer (ESC to stop)
ONTIMEOUT installer

LABEL installer
  MENU LABEL Kickstart default PXELinux
  KERNEL boot/centos-8-VwA8T7doolWP-vmlinuz
  APPEND initrd=boot/centos-8-VwA8T7doolWP-initrd.img ks=
97-b726-23af5c1e73b9  BOOTIF=00-00-50-56-80-a1-db kssendmac ks.sendmac inst.ks.sendmac ip=dhcp nameserver= names

Foreman returns 404 when either the host was deleted or the token expired. Set longer expiration time.

My web server giving these files was “wanky”. A reboot solved.

1 Like

PLEASE help me . How to solve this problem ? I need your help ! Thank you