F21 System Wide Change: Smaller Cloud Image Footprint

Matthew Miller mattdm at fedoraproject.org
Mon Apr 14 20:56:54 UTC 2014


On Mon, Apr 14, 2014 at 04:15:50PM -0400, Bill Nottingham wrote:
> > ** Replace NetworkManager, etc. with systemd-networkd.
> > ** Make sure only just kernel-core, not kernel and kernel-drivers, is 
> > installed (see the related change: Modular Kernel Packaging for Cloud [1]).
> > ** Make sure only the packages really required are installed.
> > ** Use %packages --excludedocs to to skip installing docs.
> > ** Use %packages --instLangs= to ship only just English.
> > ** Tweak the locales (in %post) so that local-archive ships with only just 
> > English instead of all languages. We might skip this one if it seems too much 
> > tinkering. Work is going on to have proper support for this in the glibc 
> > package (see rhbz#156477 [2] - also, c#30 shows the necessary tinkering).
> 
> How do these changes (especially the first two) work in terms of the
> cattle-to-pets feature?

Good question. That script may have options to undo some of this; generally,
this kind of minimization isn't so interesting for "pets", and some aspects
(lack of man pages!) are probably actively unwanted.

Also, I know you know this but just as a general clarification: the cloud
image isn't currently using NetworkManager anyway but is using the good ol'
network initscripts.

-- 
Matthew Miller    --   Fedora Project    --    <mattdm at fedoraproject.org>
                                  "Tepid change for the somewhat better!"


More information about the devel mailing list