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:
parent
b91bfb047b
commit
5a8bd7e162
@ -4,7 +4,7 @@ undercloud_additional_pkgs:
|
|||||||
- vim
|
- vim
|
||||||
- tmux
|
- tmux
|
||||||
- openssl
|
- openssl
|
||||||
- wget
|
- curl
|
||||||
- bind-utils
|
- bind-utils
|
||||||
- net-tools
|
- net-tools
|
||||||
- git
|
- git
|
||||||
|
@ -26,7 +26,7 @@ export DIB_YUM_REPO_CONF=""
|
|||||||
export DIB_YUM_REPO_CONF="$DIB_YUM_REPO_CONF {{ repo_path }}"
|
export DIB_YUM_REPO_CONF="$DIB_YUM_REPO_CONF {{ repo_path }}"
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if base_image_url is defined and base_image_path is defined %}
|
{% 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 }}
|
export DIB_LOCAL_IMAGE={{ base_image_path }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{# note(trown): there was not support in tripleoclient for YAML config images in Newton #}
|
{# note(trown): there was not support in tripleoclient for YAML config images in Newton #}
|
||||||
|
@ -176,7 +176,7 @@ EOF"
|
|||||||
<p>
|
<p>
|
||||||
wget or curl the <b>reproducer-quickstart/reproducer-zuul-based-quickstart.tar</b> file.
|
wget or curl the <b>reproducer-quickstart/reproducer-zuul-based-quickstart.tar</b> file.
|
||||||
<pre><code><b>
|
<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
|
tar -xvf reproducer-zuul-based-quickstart.tar
|
||||||
</b></code></pre>
|
</b></code></pre>
|
||||||
One of the extracted files is the script called <code>./reproducer-zuul-based-quickstart.sh</code>
|
One of the extracted files is the script called <code>./reproducer-zuul-based-quickstart.sh</code>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
REPRO_USER=${REPRO_USER:=reprozuul}
|
REPRO_USER=${REPRO_USER:=reprozuul}
|
||||||
REPRO_DEPS="tar wget screen"
|
REPRO_DEPS="tar curl screen"
|
||||||
RDO_USER=""
|
RDO_USER=""
|
||||||
RDO_PASS=""
|
RDO_PASS=""
|
||||||
CLOUDS_YAML_PATH=".config/openstack/"
|
CLOUDS_YAML_PATH=".config/openstack/"
|
||||||
|
@ -28,11 +28,11 @@ sed -i "1i$IPA_SERVER_IP $CA_SERVER_HOSTNAME" /etc/hosts
|
|||||||
|
|
||||||
## * Install required system packages::
|
## * 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)::
|
## * 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
|
rpm -Uvh ius-release*.rpm
|
||||||
yum install -y haveged
|
yum install -y haveged
|
||||||
systemctl start haveged.service
|
systemctl start haveged.service
|
||||||
|
@ -23,5 +23,5 @@ packages_list:
|
|||||||
- unbound
|
- unbound
|
||||||
- screen
|
- screen
|
||||||
- vim
|
- vim
|
||||||
- wget
|
- curl
|
||||||
- iptables-services
|
- iptables-services
|
||||||
|
Loading…
Reference in New Issue
Block a user