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

Daniel P. Berrange berrange at redhat.com
Wed Jun 11 09:31:03 UTC 2008


On Wed, Jun 11, 2008 at 11:26:51AM +0200, 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.

Ok, this pain with lokkit has gone too far. It must die a horrible and
flaming death. All we're using it for is to persist the iptables config
we need, which basically comes down to writing a simple text file. We
really don't need python todo that.

Dan.
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the ovirt-devel mailing list