aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian-buster/Vagrantfile14
-rw-r--r--fed33/Vagrantfile1
-rw-r--r--gentoo/Vagrantfile25
3 files changed, 32 insertions, 8 deletions
diff --git a/debian-buster/Vagrantfile b/debian-buster/Vagrantfile
index fdb6ed9..687cfa1 100644
--- a/debian-buster/Vagrantfile
+++ b/debian-buster/Vagrantfile
@@ -14,12 +14,10 @@ Vagrant.configure("2") do |config|
vb.memory = "1024"
end
- # config.vm.provision "shell", inline: <<-SHELL
- # sudo dnf update
- # sudo dnf install -y vim make cmake ninja-build meson gcc tmux wget curl git
- # sudo dnf install -y python3-pyelftools
- # sudo dnf groupinstall "Development Tools"
- # sudo dnf install libpcap-devel zlib-devel libfdt-devel openssl-devel
- # sudo modprobe vfio-pci
- # SHELL
+ config.vm.provision "shell", inline: <<-SHELL
+ sudo apt update && sudo apt upgrade -y
+ sudo apt install -y ksh wget curl vim tmux apt-file git python3 python3-pip
+ sudo apt-file update
+ echo "set -g default-terminal screen-256" > ~/.tmux.conf
+ SHELL
end
diff --git a/fed33/Vagrantfile b/fed33/Vagrantfile
index eda1814..c35f795 100644
--- a/fed33/Vagrantfile
+++ b/fed33/Vagrantfile
@@ -20,5 +20,6 @@ Vagrant.configure("2") do |config|
sudo dnf install -y python3-pyelftools
sudo dnf groupinstall "Development Tools"
sudo dnf install libpcap-devel zlib-devel libfdt-devel openssl-devel
+ sudo modprobe vfio-pci
SHELL
end
diff --git a/gentoo/Vagrantfile b/gentoo/Vagrantfile
new file mode 100644
index 0000000..8feb311
--- /dev/null
+++ b/gentoo/Vagrantfile
@@ -0,0 +1,25 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+Vagrant.configure("2") do |config|
+
+ config.vm.box = "generic/gentoo"
+
+ config.vm.box_check_update = false
+
+ config.vm.network "public_network"
+
+ config.vm.provider "virtualbox" do |vb|
+ vb.gui = false
+ vb.memory = "1024"
+ end
+
+ # config.vm.provision "shell", inline: <<-SHELL
+ # sudo dnf update
+ # sudo dnf install -y vim make cmake ninja-build meson gcc tmux wget curl git
+ # sudo dnf install -y python3-pyelftools
+ # sudo dnf groupinstall "Development Tools"
+ # sudo dnf install libpcap-devel zlib-devel libfdt-devel openssl-devel
+ # sudo modprobe vfio-pci
+ # SHELL
+end