From: Thanh Ha Date: Fri, 28 Jul 2017 02:51:41 +0000 (-0400) Subject: Enable packer wget non-verbose mode X-Git-Tag: release/nitrogen~237 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=bec2f1fafa0990314f6e540993db8c7a303591a9;p=releng%2Fbuilder.git Enable packer wget non-verbose mode Also change all --no-verbose to -nv. Some versions of wget use --no-verbose and others use --non-verbose both all of them use -nv for the short form so this should work on all versions of wget. Change-Id: I13a72ee5333739ca1f3a1e6f066cfb9bd3d11f35 Signed-off-by: Thanh Ha --- diff --git a/packer/provision/java-builder.sh b/packer/provision/java-builder.sh index 6f8f6121b..775d2279a 100644 --- a/packer/provision/java-builder.sh +++ b/packer/provision/java-builder.sh @@ -39,28 +39,27 @@ yum -y install mono-complete nuget echo "---> Installing the Hbase Server..." mkdir /tmp/Hbase cd /tmp/Hbase -wget --no-verbose https://archive.apache.org/dist/hbase/hbase-0.94.27/hbase-0.94.27.tar.gz +wget -nv https://archive.apache.org/dist/hbase/hbase-0.94.27/hbase-0.94.27.tar.gz tar -xvf hbase-0.94.27.tar.gz # Needed by TSDR echo "---> Installing the Cassandra Server..." mkdir /tmp/cassandra cd /tmp/cassandra -wget --no-verbose https://archive.apache.org/dist/cassandra/2.1.16/apache-cassandra-2.1.16-bin.tar.gz +wget -nv https://archive.apache.org/dist/cassandra/2.1.16/apache-cassandra-2.1.16-bin.tar.gz tar -xvf apache-cassandra-2.1.16-bin.tar.gz # Generally useful for all projects echo "---> Installing the Elasticsearch node..." mkdir /tmp/elasticsearch cd /tmp/elasticsearch -wget --no-verbose https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.5.tar.gz +wget -nv https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.5.tar.gz tar -xvzf elasticsearch-1.7.5.tar.gz # Installs Hashicorp's Packer binary, required for {verify,merge}-packer jobs mkdir /tmp/packer cd /tmp/packer -wget https://releases.hashicorp.com/packer/0.12.2/packer_0.12.2_linux_amd64.zip +wget -nv https://releases.hashicorp.com/packer/0.12.2/packer_0.12.2_linux_amd64.zip unzip packer_0.12.2_linux_amd64.zip -d /usr/local/bin/ # rename packer to avoid conflict with binary in cracklib mv /usr/local/bin/packer /usr/local/bin/packer.io -