23 lines
681 B
Ruby
23 lines
681 B
Ruby
# -*- 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
|