Disable ECC Memory in CUDA

I am building an image (AMI) and would the boxes that use the image to have ECC memory disabled. I can’t simply call nvidia-smi -e 0 at launch time as that change then requires the box to be restarted. I would like to build the image on a box without a GPU. which means I cannot call nvidia-smi -e 0 at build time either. Is there anyway to turn off ECC without needing a GPU present at the time (so that this change is picked up on the next boot)?