Foreman 1.24 on CentOS 7.8. No Katello.
I am trying to provision a server with Ubuntu 20.04. I have it all setup right but looking at the proxy.log I see its trying to pull down the following:
2020-09-09T14:21:33 b7e9feff [D] Starting task: /usr/bin/wget --connect-timeout=10 --dns-timeout=10 --read-timeout=60 --tries=3 --no-check-certificate -nv -c “http://archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux” -O “/var/lib/tftpboot/boot/ubuntu-mirror-ZHkTaZ7JvtHC-linux”
2020-09-09T14:21:33 b7e9feff [I] Finished POST /tftp/fetch_boot_file with 200 (5.1 ms)
2020-09-09T14:21:33 b7e9feff [D] Starting task: /usr/bin/wget --connect-timeout=10 --dns-timeout=10 --read-timeout=60 --tries=3 --no-check-certificate -nv -c “http://archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz” -O “/var/lib/tftpboot/boot/ubuntu-mirror-ZHkTaZ7JvtHC-initrd.gz”
2020-09-09T14:21:33 b7e9feff [I] Finished POST /tftp/fetch_boot_file with 200 (0.84 ms)
Looking at the actual files downloaded I see this:
[root@foreman2 boot]# ls -l
total 132804
-rw-r–r--. 1 foreman-proxy foreman-proxy 65114456 Jun 8 17:26 centos-8-FHJLkc55pzwa-initrd.img
-rw-r–r--. 1 foreman-proxy foreman-proxy 8913656 May 8 07:07 centos-8-FHJLkc55pzwa-vmlinuz
-rw-r–r--. 1 foreman-proxy foreman-proxy 55187100 Apr 20 14:00 centos-mirror-qVbSBrznIWMc-initrd.img
-rw-r–r--. 1 foreman-proxy foreman-proxy 6762688 Mar 31 19:40 centos-mirror-qVbSBrznIWMc-vmlinuz
-rw-r–r--. 1 foreman-proxy foreman-proxy 0 Sep 9 13:27 ubuntu-mirror-ZHkTaZ7JvtHC-initrd.gz
-rw-r–r--. 1 foreman-proxy foreman-proxy 0 Sep 9 13:27 ubuntu-mirror-ZHkTaZ7JvtHC-linux
Had this same problem with CentOS 8 and had to create a new installation media for just CentOS 8. But not sure exactly the best way to fix it for Ubutnu. The correct path is:
So images needs to change to legacy-images and debian-installer needs to change to ubuntu-installer.