Remove rackspace/centos7 work-around
The current centos 7 images from rackspace do not have cloud-init installed via pip, so this is no longer needed. This work around is actually a little wrong too, see the bug. Change-Id: I6642593ca2248d9e01f653cc8e70c70ba8372e50 Partial-bug: #1393073
This commit is contained in:
parent
9bfdea87a6
commit
6a41ba20e7
8
stack.sh
8
stack.sh
@ -209,14 +209,6 @@ if is_ubuntu; then
|
||||
echo 'APT::Acquire::Retries "20";' | sudo tee /etc/apt/apt.conf.d/80retry >/dev/null
|
||||
fi
|
||||
|
||||
# upstream Rackspace centos7 images have an issue where cloud-init is
|
||||
# installed via pip because there were not official packages when the
|
||||
# image was created (fix in the works). Remove all pip packages
|
||||
# before we do anything else
|
||||
if [[ $DISTRO = "rhel7" && is_rackspace ]]; then
|
||||
(sudo pip freeze | xargs sudo pip uninstall -y) || true
|
||||
fi
|
||||
|
||||
# Some distros need to add repos beyond the defaults provided by the vendor
|
||||
# to pick up required packages.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user