repotesting-vagrant/rocky/Vagrantfile

23 lines
681 B
Ruby
Raw Normal View History

2023-05-20 19:06:16 +00:00
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |rocky8u4|
# Note, custom/rocky8u4 is derived from generic/centos8 and migrate2rocky.sh
rocky8u4.vm.box = "custom/rocky8u4"
rocky8u4.vm.hostname = "rocky8u4-repotesting.example.org"
rocky8u4.vm.synced_folder "../vagrantdata", "/home/vagrant/data"
rocky8u4.vm.provider "virtualbox" do |vb|
vb.gui = true
vb.memory = "2048"
vb.cpus = "2"
end
# Enable provisioning with a shell script. Additional provisioners such as
rocky8u4.vm.provision "shell", inline: <<-SHELL
dnf -y --enablerepo=epel,powertools install rpminspect rpminspect-data-fedora tree htop vim-enhanced
SHELL
end