[Ovirt-devel] [PATCH]: Shrink the managed node image to under 64MB

Perry N. Myers pmyers at redhat.com
Wed Jun 11 14:00:41 UTC 2008


Chris Lalancette wrote:
> All,
>      Attached is a patch that cleans up the managed node image some more, so
> that the ISO size is 57MB, the overall /tftpboot directory (for PXE) is 62MB,
> and the runtime image (right after boot) is ~152MB.
>      It's a larger patch than it looks, mostly because I re-organized the way we
> were getting rid of stray kernel modules.
>      Note that keeping the image this small depends on 3 things:
> 
> a)  Re-writing the /sbin/ovirt-identify-node script in bash or C, which I
> believe Darryl has already started on.  This is because I explicitly remove python.
> 
> b)  Having a libvirt version that *doesn't* require python.  This is a little
> tricky; the version of libvirt currently in updates (0.4.2-3) does require
> python since it requires lokkit.  However, the version in updates-testing
> (0.4.2-4) doesn't require python, since lokkit was dropped.  That being said, I
> believe the plan is for libvirt to re-enable lokkit in the future, so we will
> have to watch out for that.
> 
> c)  Having a collectd RPM that doesn't require rrdtool.  Alan and I split the
> collectd RPM up yesterday, so you can install collectd without rrdtool, but that
> change has not yet been pushed to the repositories.
> 
> Both b) and c) can be currently solved by pointing at
> http://ovirt.org/repos/ovirt/9/x86_64 in your repos.ks, since we are hosting the
> updated packages for both libvirt and collectd there.  We will need to fix
> ovirt-identify-node asap to solve a).

ACK on visual review though I don't have time to test it myself presently...

Perry




More information about the ovirt-devel mailing list