[ironic] [tripleo] IPA images without RPM and YUM/DNF?
Sergii Golovatiuk
sgolovat at redhat.com
Tue Oct 15 12:55:41 UTC 2019
Hi,
Operator may run "rpm --rebuilddb" in case he needs some packages
installed. Alternatively, he may build a new image with rpm/yum databases.
вт, 15 окт. 2019 г. в 11:15, Dmitry Tantsur <dtantsur at redhat.com>:
> (adding TripleO because of potential effect)
>
> Hi all,
>
> I'm working on making ironic-python-agent images smaller than they
> currently are. The proposed patches already reduce the default image (as
> built by IPA-builder) size from around 420 MiB to around 380 MiB.
>
> My next idea is to get rid of RPM and YUM databases (in case of a
> CentOS/RHEL image). They amount for nearly 100 MiB of the uncompressed
> image:
> $ du -sh var/lib/rpm
> 91M var/lib/rpm
> $ du -sh var/lib/yum
> 6.6M var/lib/yum
>
> How important for anyone is the ability to install/inspect packages inside
> a ramdisk?
>
> Dmitry
>
--
Sergii Golovatiuk
Senior Software Developer
Red Hat <https://www.redhat.com/>
<https://www.redhat.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20191015/c080f3a0/attachment.html>
More information about the openstack-discuss
mailing list