Open bdunne opened 9 months ago
Can we pre-modify the ISO to avoid imagefactory/oz from doing the extract, modify and reassemble? Or will it do all that regardless of the pre-modification? I wouldn't even mind manually pre-modifying them for each target appliance image if there are differences.
This issue has been automatically marked as stale because it has not been updated for at least 3 months.
If you can still reproduce this issue on the current release or on master
, please reply with all of the information you have about it in order to keep the issue open.
This issue has been automatically marked as stale because it has not been updated for at least 3 months.
If you can still reproduce this issue on the current release or on master
, please reply with all of the information you have about it in order to keep the issue open.
Based on: https://github.com/ManageIQ/manageiq-appliance-build/pull/563#discussion_r1498420901
Imagefactory/oz extract, modify and reassemble the source ISO for each appliance image that we build. The full CentOS Stream 9 ISO is 9+GB now. It's a ton of disk I/O that takes 10-20 minutes per appliance image on our current build machine. The only meaningful changes are inserting the
ks.cfg
and modifying the kernel cmdline.To make matters worse, our kickstart file doesn't even leverage the RPM repos in the ISO.
I tried switching to the much smaller boot ISO, but it didn't work and I didn't have time to investigate right now. I think there are no repos on the ISO but anaconda is looking for something with the current kernel cmdline.
If we can't switch to the boot ISO, maybe we can build our own with empty (or almost empty) repos to reduce the disk size. and reduce the time consuming I/O.