ERB code help

thanks yes i did this and it’s definitely returning the correct value to what I expect to see and then use
I also checked the templates section in the legacyUI for this new host I built and it shows the correct code being used. anaconda shows the wrong command being used. Going to restart foreman now to see if something has cached but if anyone knows what else it could be, pls let me know