bifrost-create-vm-nodes: Install virtualbmc to virtualenv if enabled

The various bifrost pip requirements can be installed in a virtual
environment except for virtualbmc which is always installed on the
real filesystem. As such, lets put this package in the virtual
environment as well if we are using one.

Change-Id: I74ca87cfb64df2deedf66ecf654a8a124d02e40c
This commit is contained in:
Markos Chandras 2018-03-23 14:07:32 +00:00
parent 52cdf624b5
commit 1941e48213
1 changed files with 1 additions and 0 deletions

View File

@ -135,3 +135,4 @@
pip:
name: virtualbmc
extra_args: "-c {{ upper_constraints_file }}"
virtualenv: "{{ enable_venv | bool | ternary(bifrost_venv_dir, omit) }}"