Lowercase mirror host
Pip performs a case-sensitive comparison on the trusted host. Just make sure all our hostnames are lower case. Change-Id: I63a66978a599629cb713c2de99618455f40ed0cc
This commit is contained in:
parent
6e00d71db4
commit
981d5d2970
@ -19,6 +19,7 @@
|
||||
source /etc/nodepool/provider
|
||||
|
||||
NODEPOOL_MIRROR_HOST=${NODEPOOL_MIRROR_HOST:-mirror.$NODEPOOL_REGION.$NODEPOOL_CLOUD.openstack.org}
|
||||
NODEPOOL_MIRROR_HOST=$(echo $NODEPOOL_MIRROR_HOST|tr '[:upper:]' '[:lower:]')
|
||||
NODEPOOL_PYPI_MIRROR=${NODEPOOL_PYPI_MIRROR:-http://$NODEPOOL_MIRROR_HOST/pypi/simple}
|
||||
|
||||
cat >/tmp/pip.conf <<EOF
|
||||
|
Loading…
Reference in New Issue
Block a user