Set foreman template to boot in either nvme or sda

Trying to set up a template that will boot up with either nvme or sda so i dont have to bounce back and forth. We are about 50 50 on box’s that use these. I would just like to have 1 template that can discover the drive and just run. Any thoughts??