Sure, i will follow your suggestions, now currently we could not be able to create customized ISO image please see below error while using same fdi-bootable-3.3.1.iso.
[root@hylformanproxy remaster]# cd /var/tmp/foreman/foreman-discovery-image
[root@hylformanproxy foreman-discovery-image]# ls -l
total 84
-rw-r–r-- 1 root root 718 Apr 4 10:09 00-repos-centos8.ks
-rw-r–r-- 1 root root 494 Apr 4 10:09 10-header.ks
-rw-r–r-- 1 root root 2025 Apr 4 10:09 20-packages.ks
-rw-r–r-- 1 root root 5899 Apr 4 10:09 22-discovery.ks
-rw-r–r-- 1 root root 3471 Apr 4 10:09 25-minimize.ks
-rw-r–r-- 1 root root 1582 Apr 4 10:09 anaconda-rhsm-BZ2034601.patch
drwxr-xr-x 5 root root 131 Apr 4 10:09 aux
-rwxr-xr-x 1 root root 1379 Apr 4 10:09 build-livecd
-rwxr-xr-x 1 root root 3436 Apr 4 10:09 build-livecd-root
-rwxr-xr-x 1 root root 45 Apr 4 10:09 clean-cache
drwxr-xr-x 6 root root 93 Apr 4 10:09 example_zip
-rwxr-xr-x 1 root root 74 Apr 4 10:09 extract-strings
-rw-r–r-- 1 root root 148 Apr 4 10:09 fdi-centos8.ks
-rw-r–r-- 1 root root 119 Apr 4 10:09 fdi-empty.ks
-rw-r–r-- 1 root root 18027 Apr 4 10:09 LICENSE
-rw-r–r-- 1 root root 11529 Apr 4 10:09 README.md
drwxr-xr-x 5 root root 39 Apr 4 10:09 root
[root@hylformanproxy foreman-discovery-image]# cd /var/tmp/foreman/foreman-discovery-image/aux/remaster
[root@hylformanproxy remaster]# ls -l
total 242692
-rwxr-xr-x 1 root root 3762 Apr 4 10:09 discovery-remaster
-rw-r–r-- 1 root root 248512512 Jan 4 2017 fdi-bootable-3.3.1.iso
[root@hylformanproxy remaster]# bash ./discovery-remaster fdi-bootable-3.3.1.iso “proxy.url=https://hylformanproxy.micron.com proxy.type=proxy fdi.pxauto=1”Copying contents to temporary directory…
Making hardlinks so inodes can be cached to save space…
/tmp/tmp.NZoEUZ1iO3 /var/tmp/foreman/foreman-discovery-image/aux/remaster
ln: failed to access ‘isolinux/initrd.img’: No such file or directory
ln: failed to access ‘isolinux/vmlinuz’: No such file or directory
/var/tmp/foreman/foreman-discovery-image/aux/remaster
Configuring bootloaders…
Copy grub config to the ESP image…
Can’t open /tmp/tmp.NZoEUZ1iO3/images/efiboot.img: No such file or directory
Cannot initialize ‘::’
Bad target ::EFI/BOOT/grub.cfg
Building new ISO image…
Warning: creating filesystem that does not conform to ISO-9660.
Size of boot image is 4 sectors → No emulation
4.13% done, estimate finish Tue Apr 4 11:06:20 2023
8.26% done, estimate finish Tue Apr 4 11:06:20 2023
12.40% done, estimate finish Tue Apr 4 11:06:20 2023
16.53% done, estimate finish Tue Apr 4 11:06:20 2023
20.65% done, estimate finish Tue Apr 4 11:06:20 2023
24.78% done, estimate finish Tue Apr 4 11:06:20 2023
28.92% done, estimate finish Tue Apr 4 11:06:20 2023
33.04% done, estimate finish Tue Apr 4 11:06:20 2023
37.18% done, estimate finish Tue Apr 4 11:06:20 2023
41.30% done, estimate finish Tue Apr 4 11:06:20 2023
45.44% done, estimate finish Tue Apr 4 11:06:20 2023
49.56% done, estimate finish Tue Apr 4 11:06:20 2023
53.69% done, estimate finish Tue Apr 4 11:06:20 2023
57.82% done, estimate finish Tue Apr 4 11:06:20 2023
61.95% done, estimate finish Tue Apr 4 11:06:20 2023
66.08% done, estimate finish Tue Apr 4 11:06:20 2023
70.21% done, estimate finish Tue Apr 4 11:06:20 2023
74.33% done, estimate finish Tue Apr 4 11:06:20 2023
78.47% done, estimate finish Tue Apr 4 11:06:20 2023
82.59% done, estimate finish Tue Apr 4 11:06:20 2023
86.73% done, estimate finish Tue Apr 4 11:06:20 2023
90.85% done, estimate finish Tue Apr 4 11:06:20 2023
94.99% done, estimate finish Tue Apr 4 11:06:20 2023
99.11% done, estimate finish Tue Apr 4 11:06:20 2023
Total translation table size: 6249
Total rockridge attributes bytes: 2866
Total directory bytes: 10240
Path table size(bytes): 78
Max brk space used 22000
121085 extents written (236 MB)
isohybrid: proxy.type=proxy: unable to find efi image
Inserting md5sum into iso image…
md5 = 119a2646ef01eab583417f987dd528c9
Inserting fragment md5sums into iso image…
fragmd5 = 57d7d2429b86ecec69ea41c66c393aa26f2259b62cb448328bd6892ac912
frags = 20
Setting supported flag to 0
Created: proxy.type=proxy (BIOS-only compatible)
Cleaning up temporary directory…
[root@hylformanproxy remaster]# ls -l
total 484864
-rwxr-xr-x 1 root root 3762 Apr 4 10:09 discovery-remaster
-rw-r–r-- 1 root root 248512512 Jan 4 2017 fdi-bootable-3.3.1.iso
-rw-r–r-- 1 root root 247982080 Apr 4 11:06 proxy.type=proxy
[root@hylformanproxy remaster]#