In RHEL under proxy, installation by stack.sh failed
because of rdo-release.rpm install failure.
This patch fixes install command for rdo-release.rpm
because it is caused by lack of http(s)_proxy.
Change-Id: I176d1e140f52e1bb0343170ba4d90c06b98d5a99
Closes-Bug: #1536478
| ... | ... |
@@ -290,7 +290,7 @@ EOF |
| 290 | 290 |
sudo yum-config-manager --enable rhel-7-server-optional-rpms |
| 291 | 291 |
|
| 292 | 292 |
# install the lastest RDO |
| 293 |
- sudo yum install -y https://rdoproject.org/repos/rdo-release.rpm |
|
| 293 |
+ is_package_installed rdo-release || yum_install https://rdoproject.org/repos/rdo-release.rpm |
|
| 294 | 294 |
|
| 295 | 295 |
if is_oraclelinux; then |
| 296 | 296 |
sudo yum-config-manager --enable ol7_optional_latest ol7_addons ol7_MySQL56 |