debian-forge/test/Vagrantfile
Martin Sehnoutka 3c19420b3e introduce spec file and related build scripts
The repository now contains a Vagrantfile for running the testing script
against an RPM package created locally using `make rpm`. To run this
test use `make vagrant-test`. setup.py was also modified to adhere to
packaging guidelines and not to install system-level executables.
The lincense is now included in the Python package using the MANIFEST.in
file.
2019-07-23 15:22:40 +02:00

15 lines
361 B
Ruby

# -*- mode: ruby -*-
# vi: set ft=ruby :
$script = <<-SCRIPT
sudo dnf install qemu-system-x86 /vagrant/osbuild*.rpm -y
SCRIPT
Vagrant.configure("2") do |config|
config.vm.box = "fedora/30-cloud-base"
config.vm.box_version = "30.20190425.0"
config.vm.provider "libvirt" do |v|
v.memory = 4096
end
config.vm.provision "shell", inline: $script
end