- ProxyJump (-J) doesn't work from Docker container - Changed to nested SSH: hop -> target - Proper command escaping for nested SSH - Worker2 (srv-bd-host01) only accessible via worker1 (pve-nu-monitor01)
13 lines
371 B
Python
13 lines
371 B
Python
from ._version import get_versions
|
|
|
|
__ALL__ = ['version', 'full_version', 'git_revision', 'release']
|
|
|
|
vinfo = get_versions()
|
|
version: str = vinfo["version"]
|
|
full_version: str = vinfo['version']
|
|
git_revision: str = vinfo['full-revisionid']
|
|
release = 'dev0' not in version and '+' not in version
|
|
short_version: str = vinfo['version'].split("+")[0]
|
|
|
|
del get_versions, vinfo
|