kolla-ansible/tools
zengchen228 aaab1d1b68 Fix kolla-ansible to work with pyenv-virtualenv
One of the pyenv-virtualenv-set-up aliases depends on a symlink.
It seems pyenv runs the bash script from such a path and it fails
because of a failing comparison (VIRTUAL_ENV not detected).

The VIRTUAL_ENV is ensured to be fully resolved as well for safety.

This requires readlink from GNU coreutils but all supported platforms
have it by default.

Extra comments included, as well as simplification of directory
detection - readlink handles this (not that `bin` itself was
ever a symlink...).

Closes-Bug: #1903887
Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>
Change-Id: I2fe6eb13ce7be68d346b1b3b7036859f34c896c4
2020-11-18 20:41:01 +00:00
..
cleanup-containers Delete the /var/log/kolla directory should use sudo 2020-08-20 18:00:31 +08:00
cleanup-host Remove kolla-cli from cleanup-host script 2020-09-29 21:34:13 +08:00
cleanup-images Use become for all docker tasks 2019-06-06 19:04:58 +01:00
diag Diagnostics for Environment 2016-05-06 07:20:03 -04:00
generate_passwords.py Rename kolla namespace to kolla_ansible 2017-02-15 16:34:51 +08:00
init-runonce [CI] Ensure network is set for Zun 2020-09-12 12:06:34 +02:00
init-vpn Add test for credentials set 2018-04-28 15:43:06 +00:00
kolla-ansible Fix kolla-ansible to work with pyenv-virtualenv 2020-11-18 20:41:01 +00:00
kolla-libvirt-guests.service Add safe shutdown systemd jobs to tools 2018-07-21 00:43:50 +00:00
loc Move demos and dev directory into a new contrib directory 2016-10-14 12:57:49 +02:00
merge_passwords.py Rename kolla namespace to kolla_ansible 2017-02-15 16:34:51 +08:00
openrc-example Add documentation for two-VIP and TLS blueprints 2016-03-08 09:27:26 -05:00
ovs-dpdkctl.sh fix can not generate ovs-dpdk.conf 2020-05-17 16:28:59 +08:00
pre-commit-hook Fix pre-commit-hook can't work 2018-06-24 15:32:50 +08:00
run-bashate.sh CI: Make bashate happy 2020-04-24 15:57:55 +02:00
setup-compute-libvirt.yml Add safe shutdown systemd jobs to tools 2018-07-21 00:43:50 +00:00
validate-all-file.py remove obsolete configurations 2020-08-20 00:06:49 +08:00
validate-all-yaml.sh Remove unecessary blank lines 2016-05-02 07:44:29 -04:00
validate-docker-execute.sh Use become for all docker tasks 2019-06-06 19:04:58 +01:00
validate-install-command.sh Add support to lint the install commands in Dockerfiles 2016-05-26 17:41:42 +05:30
validate-yaml.py Update hacking for Python3 2020-04-04 17:00:17 +02:00
virt-guest-shutdown.target Add safe shutdown systemd jobs to tools 2018-07-21 00:43:50 +00:00