From 46195bf7edb094ea2d32cca4ee3d9803e456fab5 Mon Sep 17 00:00:00 2001 From: Scott Muc Date: Wed, 24 Jul 2024 17:24:32 +0200 Subject: [PATCH] Initial stuff to get FreeBSD running in Vagrant Issue: #78 --- devices/erebor/.gitignore | 1 + devices/erebor/README.md | 16 ++++++++++++++++ devices/erebor/Vagrantfile | 10 ++++++++++ 3 files changed, 27 insertions(+) create mode 100644 devices/erebor/.gitignore create mode 100644 devices/erebor/Vagrantfile diff --git a/devices/erebor/.gitignore b/devices/erebor/.gitignore new file mode 100644 index 0000000..8000dd9 --- /dev/null +++ b/devices/erebor/.gitignore @@ -0,0 +1 @@ +.vagrant diff --git a/devices/erebor/README.md b/devices/erebor/README.md index 7030868..7f5e1b0 100644 --- a/devices/erebor/README.md +++ b/devices/erebor/README.md @@ -1,3 +1,19 @@ # Erebor (Lonely Mountain) The configuration for my NAS. Named after the home of great wealth. + +## Setup Notes + +https://wiki.ubuntu.com/UEFI/SecureBoot/Testing +Virtualbox needs a MoK Machine-owner Key for Secure Boot UEFI + +``` + +sudo apt install virtualbox +# To stop USB error messages +sudo usermod -a -G vboxusers "$(whoami)" + +wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg +echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list +sudo apt update && sudo apt install vagrant +``` diff --git a/devices/erebor/Vagrantfile b/devices/erebor/Vagrantfile new file mode 100644 index 0000000..5aba0d4 --- /dev/null +++ b/devices/erebor/Vagrantfile @@ -0,0 +1,10 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +Vagrant.configure("2") do |config| + config.vm.box = "freebsd/FreeBSD-14.1-RELEASE" + config.vm.box_version = "2024.05.31" + config.vm.provider "virtualbox" do |vb| + vb.memory = "2048" + end +end