|
...
|
...
|
@@ -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
|
|