@cta_admin you need to create a script to install Rosetta first. The script needs to contain the following..
#!/bin/sh
sudo softwareupdate --install-rosetta --agree-to-license
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.