Update setup_nautobot.sh

This commit is contained in:
dimon 2025-11-14 23:39:07 +00:00
parent 1e9dd15c94
commit 8559a663d1

View File

@ -25,6 +25,6 @@ su -c "pip3 install --no-binary=pyuwsgi nautobot" nautobot
su -c "/opt/nautobot/.local/bin/nautobot-server --version" nautobot
# Setup Config
wget https://git.dfosd.synology.me/docker/ubuntu-nautobot/raw/branch/main/nautobot_config.py -O /opt/nautobot/nautobot_config.py
wget https://git.dfosd.synology.me/docker/ubuntu-nautobot/raw/branch/main/nautobot_config.py -O /opt/nautobot/.nautobot/nautobot_config.py
sed -i "s/SECRET_KEY_VALUE/$(sed 's/-//g' <<< $(uuidgen))/g" /opt/nautobot/nautobot_config.py
sed -i "s/SECRET_KEY_VALUE/$(sed 's/-//g' <<< $(uuidgen))/g" /opt/nautobot/.nautobot/nautobot_config.py