I have only ever installed it under /opt/sas so I'm afraid I don't have an answer for you but, if I did need to do this, I would look into options for the SAS Orchestration Command Line Interface (CLI) tool used to generate the playbook, and then the various config files in the playbook itself.
BTW the same question has been asked by @Asif4862 in the SAS Viya community so you might want to keep an eye on that thread too in case it gets an answer: https://communities.sas.com/t5/About-SAS-Viya/How-to-change-SAS-Viya-3-3-installation-and-configurat...
What is the reason for changing the default ?
For support purposes, it will help keeping to the defaults. We as SAS employees look at many installations over time and it helps a lot if our customers keep to the defaults. It saves us time hunting down non-default configurations.
As an alternative, you could always install in /opt/sas and have a symbolic link from /sas to /opt/sas Helps me and you 🙂
The problem we face at many sites is that it is not possible to install 3rd party software to this default. My personal experience in financial institutions, they have policy to install software to lets say /app or /services etc. Forcing the default is not going to help with stubborn sysadmins...
Be careful with symbolic links with SAS installations. I tried one a couple years ago with SAS VA and it broke the SAS Environment Manager Backup tool. Just the small gotchas when you least expect it. You are better off ensuring the size of the filesystem you decide to go with is adequate enough for future growth, backups and hotfixes.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.
Find more tutorials on the SAS Users YouTube channel.