We shouldn't be putting this in /etc/init.d/, but in /etc/default/corosync (ubuntu) and /etc/sysconfig/corosync (centos).
I did a manual test and both do seem to work, but from a packager's perspective, these customizations best belong in the vendor customization dir and not in initscript. Also, it wouldn't be a pain to configure this via puppet (as we probably should), instead of patching corosync.
We shouldn't be putting this in /etc/init.d/, but in /etc/default/ corosync (ubuntu) and /etc/sysconfig/ corosync (centos).
I did a manual test and both do seem to work, but from a packager's perspective, these customizations best belong in the vendor customization dir and not in initscript. Also, it wouldn't be a pain to configure this via puppet (as we probably should), instead of patching corosync.