If the CoreOS developer image was used to build custom kernel modules for the
same kernel version as in a CoreOS image, these modules can be added to the
existing set with overlayfs
. This example mount unit illustrates this if the
modules are available under /mnt
. Note that usual overlayfs
requirements
apply: namely that the working directory must be on the same root as the upper
layer, and it needs to support extended attributes.
[Unit]
Description=Add custom kernel modules into the mix
ConditionPathExists=/mnt/%v