summaryrefslogtreecommitdiffstats
path: root/vagrant/installer.sh
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-11-21 08:23:08 -0800
committerVictor Morales <victor.morales@intel.com>2018-11-21 11:09:27 -0800
commitf16df7bd9a5175274a1c8791372c798e62d1bec8 (patch)
tree106b98e4bc1ac9f3b9c51eb102db604eeacd7883 /vagrant/installer.sh
parenta40ffb20c46915335c128a811b64196af67362ae (diff)
Centralizes version of components
The galaxy roles used by KRD requires to centralize their version used in the playbook/krd-vars.yml file, this file facilitates the version control and helps as single point of truth. Change-Id: If4544f529ff00689dc6cd6bca7e8adc0c876aa18 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
Diffstat (limited to 'vagrant/installer.sh')
-rwxr-xr-xvagrant/installer.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/vagrant/installer.sh b/vagrant/installer.sh
index 860f63d6..f1109073 100755
--- a/vagrant/installer.sh
+++ b/vagrant/installer.sh
@@ -13,7 +13,7 @@ set -o pipefail
# _install_go() - Install GoLang package
function _install_go {
- version=$(grep "go_version" ${krd_playbooks}/krd-vars.yml | awk -F ': ' '{print $2}')
+ version=$(grep "go_version" ${krd_playbooks}/krd-vars.yml | awk -F "'" '{print $2}')
local tarball=go$version.linux-amd64.tar.gz
if $(go version &>/dev/null); then