Use command to set pythonintepreter

PythonInterpreter takes string value and let's use
$(command -v python3 || command -v python) to find
the interpreter value and it does not break existing user
interface also.

It is fixed in ipaclient-baremetal-ansible and
neutron-ovs-agent-container-puppet.

Change-Id: Ia9c22c535f9a411ec2024ed5a1db911bf85dbf61
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
This commit is contained in:
Chandan Kumar (raukadah) 2020-03-03 16:50:15 +05:30
parent 8f1a781181
commit 369396d7cc
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ parameters:
PythonInterpreter:
type: string
description: The python interpreter to use for python and ansible actions
default: /usr/bin/python
default: "$(command -v python3 || command -v python)"
MakeHomeDir:
type: boolean
description: Configure PAM to create a users home directory if it does not exist.

View File

@ -58,7 +58,7 @@ parameters:
PythonInterpreter:
type: string
description: The python interpreter to use for python and ansible actions
default: /usr/bin/python
default: "$(command -v python3 || command -v python)"
NeutronEnableL2Pop:
type: string
description: Enable/disable the L2 population feature in the Neutron agents.