Minor fixes for netbox install script, addition of docker and portainer install script

This commit is contained in:
2024-04-15 22:45:57 +01:00
parent ec354fb93e
commit ee82719851
3 changed files with 44 additions and 2 deletions

View File

@ -75,8 +75,8 @@ echo "Parsing the entered information to configuration.py..."
sed -i "s/ALLOWED_HOSTS = \[\]/ALLOWED_HOSTS = \[$ALLOWED_HOSTS\]/g" configuration.py
sed -i "s/SECRET_KEY = ''/SECRET_KEY = '$SECRET_KEY'/g" configuration.py
# Perform initial database migration
echo "Performing initial database migration..."
# Perform initial Netbox database migration
echo "Performing initial Netbox database migration..."
sudo -u netbox /opt/netbox/upgrade.sh
# Create directory for Netbox reports