Has anybody used a script file to run the setup. The following command is supposed to do it but I can't find examples of how to format the file. basically I want an automated setup but change the ambari server to use a non-root user.
ambari-server setup --init-script-file=INIT_SCRIPT_FILE
- Prior to the fix  the the default value for "init-script-file" was pointing "/var/lib/ambari-server/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql".
- See  However i do not think that this option "init-script-file" will help in setting "non root user" for ambari.
- You can pass the amabri provided Database script to "init-script-file".
- In order to setup ambari as Non Root User you can refer to: