I don’t see any syntax errors in that, but in case there is some weird hidden character in it, you can do this:
dos2unix deploy9.sh
About the only thing is on line 10 you set INPUT_ISO but then never use it, although it could have been used on line 42 where you use xorriso.