Replace wget with curl

Using wget can lead to problems because it's not default.
We should use curl instead

Change-Id: Idc859c57582ed3b83c6177e91e14ba4828311826
Closes-Bug: #1847344
This commit is contained in:
Arx Cruz 2019-10-09 10:50:30 +02:00
parent b91bfb047b
commit 5a8bd7e162
6 changed files with 7 additions and 7 deletions

View File

@ -4,7 +4,7 @@ undercloud_additional_pkgs:
- vim
- tmux
- openssl
- wget
- curl
- bind-utils
- net-tools
- git

View File

@ -26,7 +26,7 @@ export DIB_YUM_REPO_CONF=""
export DIB_YUM_REPO_CONF="$DIB_YUM_REPO_CONF {{ repo_path }}"
{% endfor %}
{% if base_image_url is defined and base_image_path is defined %}
wget -nv {{ base_image_url }} -O {{ base_image_path }}
curl -Lo {{ base_image_path }} {{ base_image_url }}
export DIB_LOCAL_IMAGE={{ base_image_path }}
{% endif %}
{# note(trown): there was not support in tripleoclient for YAML config images in Newton #}

View File

@ -176,7 +176,7 @@ EOF"
<p>
wget or curl the <b>reproducer-quickstart/reproducer-zuul-based-quickstart.tar</b> file.
<pre><code><b>
wget http://logs.openstack.org/79/657779/2/check/tripleo-ci-centos-7-standalone-upgrade/92fd476/logs/reproducer-quickstart/reproducer-zuul-based-quickstart.tar
curl -Lo reproducer-zuul-based-quickstart.tar http://logs.openstack.org/79/657779/2/check/tripleo-ci-centos-7-standalone-upgrade/92fd476/logs/reproducer-quickstart/reproducer-zuul-based-quickstart.tar
tar -xvf reproducer-zuul-based-quickstart.tar
</b></code></pre>
One of the extracted files is the script called <code>./reproducer-zuul-based-quickstart.sh</code>

View File

@ -1,7 +1,7 @@
#!/bin/bash
REPRO_USER=${REPRO_USER:=reprozuul}
REPRO_DEPS="tar wget screen"
REPRO_DEPS="tar curl screen"
RDO_USER=""
RDO_PASS=""
CLOUDS_YAML_PATH=".config/openstack/"

View File

@ -28,11 +28,11 @@ sed -i "1i$IPA_SERVER_IP $CA_SERVER_HOSTNAME" /etc/hosts
## * Install required system packages::
yum install -yq ipa-server ipa-server-dns wget epel-release
yum install -yq ipa-server ipa-server-dns curl epel-release
## * Increase system entropy (to prevent slow down during IPA installation)::
wget https://centos7.iuscommunity.org/ius-release.rpm
curl -Lo ius-release.rpm https://centos7.iuscommunity.org/ius-release.rpm
rpm -Uvh ius-release*.rpm
yum install -y haveged
systemctl start haveged.service

View File

@ -23,5 +23,5 @@ packages_list:
- unbound
- screen
- vim
- wget
- curl
- iptables-services