Skip to content

Commit 9396a32

Browse files
Merge pull request #4 from foxhunt72/fix_admin_user
fix path to manage.py in root/etc/cont-init.d/50-config, so that netbox admin user is created.
2 parents f0a3f77 + 7fea8f2 commit 9396a32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/etc/cont-init.d/50-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ s6-setuidgid abc /usr/bin/python3 netbox/manage.py migrate
4646

4747
if [ -n "$SUPERUSER_EMAIL" ] && [ -n "$SUPERUSER_PASSWORD" ];
4848
then
49-
cat << EOF | s6-setuidgid abc python3 /app/healthchecks/manage.py shell
49+
cat << EOF | s6-setuidgid abc python3 /app/netbox/netbox/manage.py shell
5050
from django.contrib.auth.models import User;
5151

5252
username = 'admin';

0 commit comments

Comments
 (0)