diff --git a/docs/release-notes/version-2.11.md b/docs/release-notes/version-2.11.md index 634e47316..a6e9a51b5 100644 --- a/docs/release-notes/version-2.11.md +++ b/docs/release-notes/version-2.11.md @@ -10,6 +10,7 @@ ### Bug Fixes +* [#6496](https://github.com/netbox-community/netbox/issues/6496) - Fix upgrade script when Python installed in nonstandard path * [#6502](https://github.com/netbox-community/netbox/issues/6502) - Correct permissions evaluation for running a report via the REST API --- diff --git a/upgrade.sh b/upgrade.sh index 648f825a0..bd8a8d2d7 100755 --- a/upgrade.sh +++ b/upgrade.sh @@ -15,7 +15,7 @@ else fi # Create a new virtual environment -COMMAND="/usr/bin/python3 -m venv ${VIRTUALENV}" +COMMAND="python3 -m venv ${VIRTUALENV}" echo "Creating a new virtual environment at ${VIRTUALENV}..." eval $COMMAND || { echo "--------------------------------------------------------------------"