Explicitly use python3 for ironic_lib_prefix

Recent changes to the CI made the python binary magically disappear
in Ubuntu Focal based nodes.
Since we currently support only python3 and the python3 binary is
(hopefully) always present in all current distributions, let's
switch the last python binary call to python3.

Change-Id: Ifeca377c3ada3372406ff90bd72d81f90e9bde21
This commit is contained in:
Riccardo Pittau 2020-06-30 14:55:22 +02:00
parent d0d772d720
commit f1a4725fdd
1 changed files with 1 additions and 1 deletions

View File

@ -1543,7 +1543,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