Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
goSDN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
goSDN
Commits
02b142f8
Commit
02b142f8
authored
1 year ago
by
Katharina Renk
Browse files
Options
Downloads
Patches
Plain Diff
updated go version in packer and vagrantfile
parent
e6b6abc4
No related branches found
No related tags found
1 merge request
!735
Update go 1.22
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lab-vm/vm-with-packer/scripts/setup.sh
+3
-3
3 additions, 3 deletions
lab-vm/vm-with-packer/scripts/setup.sh
lab-vm/vm-with-vagrant/Vagrantfile
+3
-3
3 additions, 3 deletions
lab-vm/vm-with-vagrant/Vagrantfile
with
6 additions
and
6 deletions
lab-vm/vm-with-packer/scripts/setup.sh
+
3
−
3
View file @
02b142f8
...
...
@@ -5,9 +5,9 @@ sudo apt update
sudo
apt upgrade
-y
# Install go
wget https://go.dev/dl/go1.2
1.5
.linux-amd64.tar.gz
rm
-rf
/usr/local/go
&&
sudo tar
-C
/usr/local
-xzf
go1.2
1.5
.linux-amd64.tar.gz
rm
go1.2
1.5
.linux-amd64.tar.gz
wget https://go.dev/dl/go1.2
2.0
.linux-amd64.tar.gz
rm
-rf
/usr/local/go
&&
sudo tar
-C
/usr/local
-xzf
go1.2
2.0
.linux-amd64.tar.gz
rm
go1.2
2.0
.linux-amd64.tar.gz
echo
"export PATH=
$PATH
:/usr/local/go/bin"
>>
/home/gosdn/.profile
echo
"export GOPATH=
$HOME
/go "
>>
/home/gosdn/.profile
source
/home/gosdn/.profile
...
...
This diff is collapsed.
Click to expand it.
lab-vm/vm-with-vagrant/Vagrantfile
+
3
−
3
View file @
02b142f8
...
...
@@ -37,9 +37,9 @@ Vagrant.configure(2) do |config|
zip
apt-get autoremove -y
####### installing go #######
wget https://go.dev/dl/go1.2
1.5
.linux-amd64.tar.gz
rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.2
1.5
.linux-amd64.tar.gz
rm go1.2
1.5
.linux-amd64.tar.gz
wget https://go.dev/dl/go1.2
2.0
.linux-amd64.tar.gz
rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.2
2.0
.linux-amd64.tar.gz
rm go1.2
2.0
.linux-amd64.tar.gz
echo 'export PATH=$PATH:/usr/local/go/bin' >> /home/vagrant/.profile
echo 'export GOPATH=$HOME/go' >> /home/vagrant/.profile
source /home/vagrant/.profile
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment