# -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |rocky8u6| # NOTE: custom/rocky8u6 is a custom packer built vagrant box rocky8u6.vm.box = "custom/rocky8u6" rocky8u6.vm.hostname = "rocky8u6-repotesting.example.org" rocky8u6.vm.synced_folder "../vagrantdata", "/home/vagrant/data" rocky8u6.vm.provider "virtualbox" do |vb| vb.gui = true vb.memory = "4096" vb.cpus = "2" end # Enable provisioning with a shell script. Additional provisioners such as rocky8u6.vm.provision "shell", inline: <<-SHELL dnf -y --enablerepo=extras,powertools update SHELL rocky8u6.vm.provision "shell", inline: <<-SHELL dnf -y --enablerepo=epel,powertools install rpminspect rpminspect-data-fedora tree htop vim-enhanced dnf -y install gcc make perl kernel-devel kernel-headers bzip2 dkms cd /dev/shm curl -LOR https://www.virtualbox.org/download/testcase/VBoxGuestAdditions_6.1.29-148164.iso mkdir -p /mnt/cdrom mount -o loop /dev/shm/VBoxGuestAdditions_6.1.29-148164.iso /mnt/cdrom cd /mnt/cdrom ./VBoxLinuxAdditions.run modinfo vboxguest modinfo vboxsf SHELL end