Closed ivilata closed 7 years ago
Branch build-ova-60
in its current state contains the build_ereuse_ova.sh
script which, when run as root, automatically builds the OVA by extracting the same Ubuntu Mini Remix ISO as used for eReuseOS, then customizing it under KVM/QEMU and finally packing everything together in a VirtualBox VM.
I've tested the resulting image and it seems to work well. The only downside that I find right now is that the resulting OVA file is nearly 100 MiB bigger than our latest v8.0a1 OVA. Maybe some unnecessary packages may be located and added to the unnecessary package removal phase.
But all in all, I think this can be merged into master. It also carries no changes to the main DDI codebase, so no new eReuseOS ISO or data archive would be needed for the next release.
I also enabled scripts/configure-server.sh
to be run on an existing host and configure it to act as an eReuse PXE server.
Currently, the VirtualBox server OVA image is created manually from a previous release. This is very brittle, unmaintainable and requires a lot of manual intervention, plus it lacks documentation on the process (the
PXE_maker.md
document only explains how to setup a physical server, and the virtual one requires a lot more tuning).A script or some automated procedure should be developed both as documentation and to create the VM, configure and pack it as an OVA. Besides scripting, SCM systems like Ansible may be used in the process.