notes.malicious.site


default vagrant file

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure('2') do |config|
  config.vm.box      = 'debian/bookworm64' 
  config.vm.hostname = 'test-dev-box'

  config.vm.network :forwarded_port, guest: 80, host: 8000 # port forward port 80 from guest to host

  config.vm.provision :shell, path: 'bootstrap.sh', keep_color: true

  config.vm.provider 'libvirt' do |v| # stick to libvirt because virtualbox == oracle 
    v.memory = ENV.fetch('DEV_BOX_RAM', 2048).to_i
    v.cpus   = ENV.fetch('DEV_BOX_CPUS', 2).to_i
  end
end