but that did not work. After a glance at that script, I was able to do it with:
export PGSETUP_INITDB_OPTIONS="--data-checksums"
/usr/pgsql-11/bin/postgresql-11-setup initdb
I'm just wondering if there is a more preferred way to do this, and/or any particular reason you can't pass options to initdb? Also, since the checksums are good for data integrity, and can only be done at init time, I wonder if it's worth adding a note about it to that documentation page?