gravitl / netmaker-ui

Other
66 stars 30 forks source link

automatic creation of admin user #332

Open theblop opened 1 year ago

theblop commented 1 year ago

Is it possible to automate the initial creation of the admin user? I'd like to automate the complete install of netmaker + ui

mattkasun commented 1 year ago

you can either use:

  1. nmctl user create --admin --name --password
  2. curl https://api.NETMAKER_DOMAIN//api/users/createadmin/ -d '{"username": "", "password":""}'