You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit the variables below by replacing `CLUSTERNAME`, `ADMINPASSWORD`, `NEWUSER`, and `USERPASSWORD` with the appropriate values. The script is designed to be executed with bash. Slight modifications would be needed for a Windows command prompt.
131
131
132
132
```bash
133
-
exportclusterName="CLUSTERNAME"
134
-
exportadminPassword='ADMINPASSWORD'
135
-
exportuser="NEWUSER"
136
-
exportuserPassword='USERPASSWORD'
133
+
exportCLUSTER_NAME="CLUSTERNAME"
134
+
exportADMIN_PASSWORD='ADMINPASSWORD'
135
+
exportUSER="NEWUSER"
136
+
exportUSER_PASSWORD='USERPASSWORD'
137
137
138
138
# create user
139
-
curl -k -u admin:$adminPassword -H "X-Requested-By: ambari" -X POST \
0 commit comments