From fac7f4aa97978d045f18bcd70e5c726958ed4dcc Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Mon, 17 May 2021 21:03:27 +0430 Subject: updates for deb, new gentoo --- debian-buster/Vagrantfile | 14 ++++++-------- fed33/Vagrantfile | 1 + gentoo/Vagrantfile | 25 +++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 8 deletions(-) create mode 100644 gentoo/Vagrantfile 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 -- cgit v1.2.3