From e0e260954727cb07ae21018003f8be33ea192118 Mon Sep 17 00:00:00 2001 From: Meori Oransky Date: Mon, 21 Nov 2022 13:34:57 +0200 Subject: [PATCH 1/3] Updating the Vagrantfile to use the Ubuntu LTS 22.04 Jammy Jellyfish instead of the now unsupported 21.10 --- Vagrantfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index ccad054..9164c6e 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,11 +1,11 @@ Vagrant.configure("2") do |config| # amd64 - config.vm.box = "generic/ubuntu2110" + config.vm.box = "generic/ubuntu2204" # arm64 # config.vm.box = "nickschuetz/ubuntu-21.10-arm64" - config.vm.define :impish - config.vm.hostname = "impish" + config.vm.define :jammy + config.vm.hostname = "jammy" config.vm.synced_folder ".", "/source" config.vm.provision "shell", inline: <<-SHELL # install llvm: From 2f01fd97b7cf7d8247c2a8bd590be5f261b51516 Mon Sep 17 00:00:00 2001 From: meorio Date: Mon, 21 Nov 2022 14:04:18 +0200 Subject: [PATCH 2/3] Updating the arm/m2 compatible box in the comment. Not tested --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 9164c6e..94393eb 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -3,7 +3,7 @@ Vagrant.configure("2") do |config| # amd64 config.vm.box = "generic/ubuntu2204" # arm64 - # config.vm.box = "nickschuetz/ubuntu-21.10-arm64" + # config.vm.box = "jharoian3/ubuntu-22.04-arm64" config.vm.define :jammy config.vm.hostname = "jammy" config.vm.synced_folder ".", "/source" From ee377272b47137896c2af126457dc153f630b6ed Mon Sep 17 00:00:00 2001 From: meorio Date: Tue, 7 Feb 2023 01:38:35 +0200 Subject: [PATCH 3/3] Fixing the Ubuntu installation DNS problem. tested --- Vagrantfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 94393eb..ca879d8 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -8,6 +8,9 @@ Vagrant.configure("2") do |config| config.vm.hostname = "jammy" config.vm.synced_folder ".", "/source" config.vm.provision "shell", inline: <<-SHELL + # fix DNS problem + rm -f /etc/resolv.conf + ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf # install llvm: export DEBIAN_FRONTEND=noninteractive export LLVM_VERSION=13