Scripted installation - building database

I’m working on an AWS deployment of LibreNMS and would like to eliminate the manual step of having to run through the post-install screens for database setup and creating the admin user.

I’m assuming the admin user can just be inserted into the database manually.

Is there a script somewhere that I can run as the librenms user on the command line to automate the actual database creation step?

lnms migrate --seed
lnms user:add --role=admin admin

Should be covered in the docs and in the docker and packer build scripts.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.