next up previous contents
Next: Implementation Up: Advanced bootstrapping methods Previous: Initramfs configuration   Contents


Custom initramfs logic

If there is a need to add any custom logic to bootstrap some nodes, it can be added by providing a custom script in $<$basedir$>$/etc/oneSIS/initramfs-postnetcheck.sh. This script will be copied to any generated initramfs image and will execute after the initramfs network check has completed. For instance, since there is no RAID support built into the ramfs, you can add a script that runs mdadm to configure your RAID boot device.



root 2017-02-23