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
| ... | ... |
@@ -209,14 +209,6 @@ if is_ubuntu; then |
| 209 | 209 |
echo 'APT::Acquire::Retries "20";' | sudo tee /etc/apt/apt.conf.d/80retry >/dev/null |
| 210 | 210 |
fi |
| 211 | 211 |
|
| 212 |
-# upstream Rackspace centos7 images have an issue where cloud-init is |
|
| 213 |
-# installed via pip because there were not official packages when the |
|
| 214 |
-# image was created (fix in the works). Remove all pip packages |
|
| 215 |
-# before we do anything else |
|
| 216 |
-if [[ $DISTRO = "rhel7" && is_rackspace ]]; then |
|
| 217 |
- (sudo pip freeze | xargs sudo pip uninstall -y) || true |
|
| 218 |
-fi |
|
| 219 |
- |
|
| 220 | 212 |
# Some distros need to add repos beyond the defaults provided by the vendor |
| 221 | 213 |
# to pick up required packages. |
| 222 | 214 |
|