Merge pull request #8604 from hashicorp/td-vagrantfile-bootstrapping-scripts
scripts/vagrant: Update Vagrant bootstrapping scripts
This commit is contained in:
commit
744412d9de
|
@ -1,10 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
function install_go() {
|
function install_go() {
|
||||||
local go_version=1.11.1
|
local go_version=1.13
|
||||||
local download=
|
local download=
|
||||||
|
download="https://dl.google.com/go/go${go_version}.linux-amd64.tar.gz"
|
||||||
download="https://storage.googleapis.com/golang/go${go_version}.linux-amd64.tar.gz"
|
|
||||||
|
|
||||||
if [ -d /usr/local/go ] ; then
|
if [ -d /usr/local/go ] ; then
|
||||||
return
|
return
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cd /opt/gopath/src/github.com/hashicorp/packer && make deps
|
cd /opt/gopath/src/github.com/hashicorp/packer && make dev
|
||||||
|
|
Loading…
Reference in New Issue