Merge "Update limited connectivity guide for easy_install configuration"

This commit is contained in:
Zuul 2020-03-09 10:17:22 +00:00 committed by Gerrit Code Review
commit 99d3776bae
1 changed files with 14 additions and 1 deletions

View File

@ -57,14 +57,27 @@ all hosts in the environment.
[global]
index-url = http://pip.example.org/simple
In addition it is necessary to configure easy_install to use an alternative
index. easy_install is used instead of pip to install anything listed under
setup_requires in setup.py during wheel builds. See https://pip.pypa.io/en/latest/reference/pip_install/#controlling-setup-requires
To configure easy_install to use an alternative index, create the file
`/root/.pydistutils.cfg` with the following content.
.. code-block:: shell-session
[easy_install]
index_url = https://pip.example.org/simple
Then, in `/etc/openstack_deploy/user_variables.yml`, inform the deployment
that it needs to copy that file from the host into the container cache image.
that it needs to copy these files from the host into the container cache image.
.. code-block:: yaml
# Copy these files from the host into the containers
lxc_container_cache_files_from_host:
- /etc/pip.conf
- /root/.pydistutils.cfg
Distribution specific packages
------------------------------