Skip to content
Snippets Groups Projects
Commit 064602e8 authored by Fabian Seidl's avatar Fabian Seidl
Browse files

fixed download path in vm files

parent 7428352a
No related branches found
No related tags found
1 merge request!505Resolve: bump go version to 1.21
Pipeline #159515 passed with warnings
This commit is part of merge request !505. Comments created here will be created in the context of that merge request.
...@@ -5,9 +5,9 @@ sudo apt update ...@@ -5,9 +5,9 @@ sudo apt update
sudo apt upgrade -y sudo apt upgrade -y
# Install go # Install go
wget https://go.dev/dl/go1.21.linux-amd64.tar.gz wget https://go.dev/dl/go1.21.0.linux-amd64.tar.gz
sudo tar -C /usr/local/ -xzf go1.21.linux-amd64.tar.gz sudo tar -C /usr/local/ -xzf go1.21.0.linux-amd64.tar.gz
rm go1.21.linux-amd64.tar.gz rm go1.21.0.linux-amd64.tar.gz
echo "export PATH=$PATH:/usr/local/go/bin" >>/home/gosdn/.profile echo "export PATH=$PATH:/usr/local/go/bin" >>/home/gosdn/.profile
echo "export GOPATH=$HOME/go " >>/home/gosdn/.profile echo "export GOPATH=$HOME/go " >>/home/gosdn/.profile
source /home/gosdn/.profile source /home/gosdn/.profile
......
...@@ -37,9 +37,9 @@ Vagrant.configure(2) do |config| ...@@ -37,9 +37,9 @@ Vagrant.configure(2) do |config|
zip zip
apt-get autoremove -y apt-get autoremove -y
####### installing go ####### ####### installing go #######
wget https://go.dev/dl/go1.21.linux-amd64.tar.gz wget https://go.dev/dl/go1.21.0.linux-amd64.tar.gz
rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.21.linux-amd64.tar.gz rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.21.0.linux-amd64.tar.gz
rm go1.21.linux-amd64.tar.gz rm go1.21.0.linux-amd64.tar.gz
echo 'export PATH=$PATH:/usr/local/go/bin' >> /home/vagrant/.profile echo 'export PATH=$PATH:/usr/local/go/bin' >> /home/vagrant/.profile
echo 'export GOPATH=$HOME/go' >> /home/vagrant/.profile echo 'export GOPATH=$HOME/go' >> /home/vagrant/.profile
source /home/vagrant/.profile source /home/vagrant/.profile
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment