Skip to content

Commit 7fea8f2

Browse files
author
Richard de Vos
committed
fix path to manage.py, so that netbox admin user is created.
1 parent f0a3f77 commit 7fea8f2

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)