From f62b89fc0c3a26df2d07c99cbbd0566a76923e22 Mon Sep 17 00:00:00 2001 From: Trevor Cooper Date: Sat, 20 May 2023 12:06:16 -0700 Subject: [PATCH] add 8u4 Vagrantfiles --- centos/Vagrantfile | 20 ++++++++++++++++++++ rhel/Vagrantfile | 21 +++++++++++++++++++++ rocky/Vagrantfile | 22 ++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 centos/Vagrantfile create mode 100644 rhel/Vagrantfile create mode 100644 rocky/Vagrantfile diff --git a/centos/Vagrantfile b/centos/Vagrantfile new file mode 100644 index 0000000..1f9461e --- /dev/null +++ b/centos/Vagrantfile @@ -0,0 +1,20 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +Vagrant.configure("2") do |config| + config.vm.box = "custom/centos8u4" + config.vm.hostname = "centos8u4-repotesting.example.org" + + config.vm.synced_folder "../vagrantdata", "/home/vagrant/data" + + config.vm.provider "virtualbox" do |vb| + vb.gui = true + vb.memory = "2048" + vb.cpus = "2" + end + + config.vm.provision "shell", inline: <<-SHELL + dnf -y --enablerepo=epel,powertools install rpminspect rpminspect-data-fedora tree htop vim-enhanced + dnf clean all + SHELL +end diff --git a/rhel/Vagrantfile b/rhel/Vagrantfile new file mode 100644 index 0000000..34026da --- /dev/null +++ b/rhel/Vagrantfile @@ -0,0 +1,21 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +Vagrant.configure("2") do |config| + config.vm.box = "generic/rhel8" + config.vm.hostname = "rhel8u4-repotesting.example.orgm" + + config.vm.synced_folder "../vagrantdata", "/home/vagrant/data" + + config.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 + config.vm.provision "shell", inline: <<-SHELL + dnf -y update + dnf -y --enablerepo=epel,codeready install rpminspect rpminspect-data-fedora tree htop vim-enhanced + SHELL +end diff --git a/rocky/Vagrantfile b/rocky/Vagrantfile new file mode 100644 index 0000000..44bc511 --- /dev/null +++ b/rocky/Vagrantfile @@ -0,0 +1,22 @@ +# -*- 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