Fix paths (#7374)
This commit is contained in:
parent
210b846d61
commit
2fc3e62d60
@ -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"
|
curl -fsSL "https://github.com/netbox-community/netbox/archive/refs/tags/v${RELEASE}.zip" -o "v${RELEASE}.zip"
|
||||||
$STD unzip "v${RELEASE}.zip"
|
$STD unzip "v${RELEASE}.zip"
|
||||||
mv /opt/netbox-"${RELEASE}"/ /opt/netbox
|
mv /opt/netbox-"${RELEASE}"/ /opt/netbox
|
||||||
|
mkdir -p /opt/netbox/netbox/media
|
||||||
|
|
||||||
$STD adduser --system --group netbox
|
$STD adduser --system --group netbox
|
||||||
chown --recursive netbox /opt/netbox/netbox/media/
|
chown --recursive netbox /opt/netbox/netbox/media/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user