This commit is contained in:
Slaviša Arežina
2025-09-03 14:42:52 +02:00
committed by GitHub
parent 210b846d61
commit 2fc3e62d60

View File

@@ -56,6 +56,7 @@ RELEASE=$(curl -fsSL https://api.github.com/repos/netbox-community/netbox/releas
curl -fsSL "https://github.com/netbox-community/netbox/archive/refs/tags/v${RELEASE}.zip" -o "v${RELEASE}.zip"
$STD unzip "v${RELEASE}.zip"
mv /opt/netbox-"${RELEASE}"/ /opt/netbox
mkdir -p /opt/netbox/netbox/media
$STD adduser --system --group netbox
chown --recursive netbox /opt/netbox/netbox/media/