Code Review
/
multicloud
/
k8s.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
acddbe2
)
Provide gcc on installer host when not present
67/97667/1
author
Konrad Bańka
<k.banka@samsung.com>
Tue, 29 Oct 2019 07:46:40 +0000
(08:46 +0100)
committer
Konrad Bańka
<k.banka@samsung.com>
Tue, 29 Oct 2019 07:46:40 +0000
(08:46 +0100)
Issue-ID: MULTICLOUD-900
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: Ibacec8deafa5f1fd9ded5822236db730fedddc82
kud/hosting_providers/vagrant/installer.sh
patch
|
blob
|
history
diff --git
a/kud/hosting_providers/vagrant/installer.sh
b/kud/hosting_providers/vagrant/installer.sh
index
5cc701d
..
e5138c2
100755
(executable)
--- a/
kud/hosting_providers/vagrant/installer.sh
+++ b/
kud/hosting_providers/vagrant/installer.sh
@@
-21,6
+21,11
@@
function _install_go {
version=$(grep "go_version" ${kud_playbooks}/kud-vars.yml | awk -F "'" '{print $2}')
local tarball=go$version.linux-amd64.tar.gz
+ #gcc is required for go apps compilation
+ if ! which gcc; then
+ sudo apt-get install -y gcc
+ fi
+
if $(go version &>/dev/null); then
return
fi