Merge "Explicitly use python3 for ironic_lib_prefix"

This commit is contained in:
Zuul 2020-07-02 16:30:44 +00:00 committed by Gerrit Code Review
commit 542442d4db

View File

@ -1555,7 +1555,7 @@ function configure_ironic_conductor {
ironic_lib_prefix=${GITDIR["ironic-lib"]}
else
# pip uses default python 'data' path
ironic_lib_prefix=$(python -c "import sysconfig; \
ironic_lib_prefix=$(python3 -c "import sysconfig; \
print(sysconfig.get_path('data'))")
# on Centos7 the data is installed to /usr/local