so i have customize iso that i’ve downloaded from the official rocky linux 8.10
and then i have a list of a packagaes that i need to download the rpms so i can put it in the ExtraPackages for the new custom iso that ive built.
but the problem is when i finish all of that and then create my ks file, when i tried install the custom iso it stop at DOWNLOADING_PKG_METADATA
and then after that payload error : Found No CD-ROM
im using virtual box.
also my step for build custom iso is
download all the package and dependencies using yumdownloader and then createrepo . after that
repo2module -s stable . also
modifyrepo_c --mdtype=modules modules.yaml repodata/
all of those while im inside ExtraPackages directory
and then build using mkisofs
my ks file is below
#version=RHEL8
repo --name=“Minimal” --baseurl=file:///run/install/sources/mount-0000-cdrom/Minimal
repo --name=“ExtraPackages” --baseurl=file:///run/install/repo/ExtraPackages
%packages
@^minimal-environment
kexec-tools
epel-release
git
zip
htop
rsync
nano
wget
nginx
php
php-cli
php-common
php-fpm
php-gd
php-json
php-mbstring
php-mysqlnd
php-pdo
php-xml
libssh2
mariadb-server
jq
openvpn
lm_sensors
%end
Keyboard layouts
keyboard --xlayouts=‘us’
System language
lang en_US.UTF-8
text
firewall --enabled --service=http,ssh,openvpn --port=3306:tcp
#authconfig --enableshadow --passalgo=sha512
selinux --disabled
#firstboot --enable
reboot --eject
Network information
#network --hostname=localhost.localdomain
Use CDROM installation media
cdrom
Run the Setup Agent on first boot
firstboot --enable
%include /tmp/storage
%include /tmp/network
#ignoredisk --only-use=sda
#autopart
Partition clearing information
#clearpart --none --initlabel
System timezone
#timezone Asia/Jakarta --isUtc --nontp
thanks in advance