diff --git a/type/__netbox/gencode-remote b/type/__netbox/gencode-remote index 5d4b7be..2206b03 100755 --- a/type/__netbox/gencode-remote +++ b/type/__netbox/gencode-remote @@ -51,7 +51,9 @@ fi # Install python dependencies. # avoid gunicorn, because it will be done in an other type grep -v "^gunicorn==" "\$tmpdir/$src/requirements.txt" \ - | xargs /opt/netbox/venv/bin/pip3 install -q + > "\$tmpdir/$src/requirements.txt.new" +/opt/netbox/venv/bin/pip3 install -q -r "\$tmpdir/$src/requirements.txt.new" + EOF if [ -f "$__object/parameter/ldap-server" ]; then diff --git a/type/__netbox/man.rst b/type/__netbox/man.rst index 135304c..1d05b12 100644 --- a/type/__netbox/man.rst +++ b/type/__netbox/man.rst @@ -31,6 +31,12 @@ version on GitHub at the NetBox project page under "`Releases `_". + Too big version jumps can break the NetBox migration path. It's good + practise to don't skip major versions and common that you must upgrade to + the latest minor inside the current major version till you can upgrade to + the next major version. Diffrent version steps must be done manually as + this type only upgrades to the given version directly. + database PostgreSQL database name.