Mind I ask why custom initramfs is not supported?
There was a way to upload custom image before maas 2.0, but now it’s hidden and undocumented, I tried many ways found on Internet but none of them got work on 2.5.1
Maybe I did it wrong, but customizing the image is a strong need and a must have feature for production.
I really hope this feature could be better, a few legit use cases are:
- a customized squshfs on top of the origin one to minimize server provisioning time (like pre-installed packages)
- a fixed image to build immutable infra (or at least to provide a way to disable daily build, imaging yesterday you install a server it’s 18.04.1 and one day later it become 18.04.2, with kernel upgrade and some behavior changes, this really put huge risk into production system)
- update or patch the driver patch, we are facing a similar nic driver issue as well, a tricky bug live in intel i40e driver which exists in both 18.04-ga and 18.04-hwe, we will have to update the initramfs by ourself
- customize kernel, we running some mptcp kernel which can only be compile from the source, it’s a hassle to replace the kernel after deploy
Right now, what am I doing is, replace the initramfs file directly with the patched version, I need do this every a few days, to prevent it being override by the new daily build.
I would really appreciate if there is a way to provide customized image easily