Skip to content

Commit

Permalink
Initial stuff to get FreeBSD running in Vagrant
Browse files Browse the repository at this point in the history
Issue: #78
  • Loading branch information
scottmuc committed Jul 24, 2024
1 parent 8ab6e98 commit 46195bf
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions devices/erebor/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vagrant
16 changes: 16 additions & 0 deletions devices/erebor/README.md
Original file line number Diff line number Diff line change
@@ -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
```
10 changes: 10 additions & 0 deletions devices/erebor/Vagrantfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 46195bf

Please sign in to comment.