From 55feff7d6484fa46701b887dcbd92f68dc36fd5e Mon Sep 17 00:00:00 2001
From: "Englert, Fabian Emil" <fabian.e.englert@stud.h-da.de>
Date: Mon, 8 May 2023 12:04:14 +0200
Subject: [PATCH] Bump go version in vagrant and packer files

---
 lab-vm/vm-with-packer/scripts/setup.sh | 6 +++---
 lab-vm/vm-with-vagrant/Vagrantfile     | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lab-vm/vm-with-packer/scripts/setup.sh b/lab-vm/vm-with-packer/scripts/setup.sh
index 61fc5b46d..0cd154094 100644
--- a/lab-vm/vm-with-packer/scripts/setup.sh
+++ b/lab-vm/vm-with-packer/scripts/setup.sh
@@ -5,9 +5,9 @@ sudo apt update
 sudo apt upgrade -y
 
 # Install go
-wget https://go.dev/dl/go1.20.3.linux-amd64.tar.gz
-sudo tar -C /usr/local/ -xzf go1.20.3.linux-amd64.tar.gz
-rm go1.20.3.linux-amd64.tar.gz
+wget https://go.dev/dl/go1.20.4.linux-amd64.tar.gz
+sudo tar -C /usr/local/ -xzf go1.20.4.linux-amd64.tar.gz
+rm go1.20.4.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
diff --git a/lab-vm/vm-with-vagrant/Vagrantfile b/lab-vm/vm-with-vagrant/Vagrantfile
index dff2133e4..2b19abf5c 100644
--- a/lab-vm/vm-with-vagrant/Vagrantfile
+++ b/lab-vm/vm-with-vagrant/Vagrantfile
@@ -37,9 +37,9 @@ Vagrant.configure(2) do |config|
     zip
     apt-get autoremove -y
     ####### installing go #######
-    wget https://go.dev/dl/go1.20.3.linux-amd64.tar.gz
-    rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.20.3.linux-amd64.tar.gz
-    rm go1.20.3.linux-amd64.tar.gz
+    wget https://go.dev/dl/go1.20.4.linux-amd64.tar.gz
+    rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.20.4.linux-amd64.tar.gz
+    rm go1.20.4.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
-- 
GitLab