From d4c4538bc8b3501e1d20ff93a9feecc0c4464fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sj=C3=B6gren?= Date: Sat, 30 Apr 2022 12:03:57 +0200 Subject: [PATCH] add Vagrantfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Sjögren --- .gitignore | 1 - Vagrantfile | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 Vagrantfile diff --git a/.gitignore b/.gitignore index 256bf27..d9d1063 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ log/* *.swp* .vagrant/ -Vagrantfile diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..87e5259 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,19 @@ +Vagrant.configure("2") do |config| + config.vbguest.installer_options = { allow_kernel_upgrade: true } + config.vm.provider "virtualbox" do |v| + v.memory = 2048 + v.cpus = 2 + v.customize ["modifyvm", :id, "--uart1", "0x3F8", "4"] + v.customize ["modifyvm", :id, "--uartmode1", "file", File::NULL] + end + + config.vm.define "jammy" do |jammy| + jammy.ssh.extra_args = ["-o","ConnectTimeout=600"] + jammy.ssh.insert_key = true + jammy.vm.boot_timeout = 600 + jammy.vm.box = "ubuntu/jammy64" + jammy.vm.hostname = "jammy" + jammy.vm.provision "shell", + inline: "apt-get update && curl -sSL get.docker.com | sh && addgroup vagrant docker" + end +end