Enable packer wget non-verbose mode 45/60845/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 28 Jul 2017 02:51:41 +0000 (22:51 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 28 Jul 2017 02:52:55 +0000 (22:52 -0400)
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 <thanh.ha@linuxfoundation.org>
packer/provision/java-builder.sh

index 6f8f6121b8380a7d04ed80151d2c8c13b911bc76..775d2279a194b9788b6765b8931ab512262ec301 100644 (file)
@@ -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
-