VOL-5358 - Build & test on the new AMI image
lf/local/commands/kubectl.mk
----------------------------
o Remove curl switch --no-progress-meter for nwo.
o Switch not supported by version of curl in the legacy AMI image.
Signed-off-by: Joey Armstrong <jarmstrong@linuxfoundation.org>
Change-Id: I1d85efdb764626dbe416910577269ee946c2a033
diff --git a/lf/local/commands/kubectl.mk b/lf/local/commands/kubectl.mk
index cd27527..beafc67 100644
--- a/lf/local/commands/kubectl.mk
+++ b/lf/local/commands/kubectl.mk
@@ -73,6 +73,9 @@
# -----------------------------------------------------------------------
# 3) Intent: Download versioned kubectl into the local build directory
# -----------------------------------------------------------------------
+# [NOTE] Remove --no-progress-meter switch for now, not supporte by
+# curl in ubuntu 18.04-LTS.
+# -----------------------------------------------------------------------
$(kubectl-ver-cmd):
# $(call banner,(kubectl install: $(kubectl-ver)))
@@ -82,8 +85,7 @@
curl \
--output $@ \
- --location "$(kube-url)" \
- --no-progress-meter
+ --location "$(kube-url)"
@umask 0 && chmod 0555 $@