Hello,
I maintain foreman-discovery-image project which aims to be minimal
fedora/centos-based image that enables bare-metal hardware provisioning
via PXE/TFTP by uploading facts and awaiting orders (reboot into
Anaconda after TFTP is set up for the particular machine).
https://github.com/theforeman/foreman-discovery-image
So far I have been pretty successful with livecd-tools. Our image is
about 140 MB in size, but my goal is to bring this number even more
down because udp/TFTP is slow.
Is there any way to tell livecd-creator to create smaller disk image (by
default it is 1 GB). Our installation consumes about 350 MBs (unpacked),
therefore 512 MB could be good start. Not sure how much bytes I can save
with this, but I guess a few.
Do you think that tuning ext3/ext4 in the kickstart could save me some
extra bytes? I was thinking doing something like
--fsprofile=^has_journal
or similar to minimize FS metadata. To be honest, I don't understand
documentation of kickstart in this regard. I am not sure if this is even
allowed syntax:
https://github.com/rhinstaller/pykickstart/blob/master/docs/kickstart-doc...
Another question is in regard to syslinux. Can I provide my own syslinux
configuration for my live media? I need to provide some extra kernel
parameters and the only option is perhaps to unpack, change and repack
the ISO image.
Many thanks with any tips. For now, my plan is to do some hacks on our
side (at least for the syslinux thing) and provide some patches if that
makes any sense upstream.
--
Later,
Lukas #lzap Zapletal