Print NetBox version in upgrade.sh (#14547)
This commit is contained in:
parent
3f4a65cc5c
commit
c1cf037eaf
|
|
@ -7,6 +7,10 @@
|
|||
# Python 3.8 or later.
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
NETBOX_VERSION="$(grep ^VERSION netbox/netbox/settings.py | cut -d\' -f2)"
|
||||
echo "You are installing (or upgrading to) NetBox version ${NETBOX_VERSION}"
|
||||
|
||||
VIRTUALENV="$(pwd -P)/venv"
|
||||
PYTHON="${PYTHON:-python3}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue