distro/tests: fix fedora packaging tests

parent dc2b1e96
......@@ -4,7 +4,7 @@
Vagrant.configure(2) do |config|
config.vm.box = "generic/fedora28"
config.vm.box = "fedora/28-cloud-base"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.define "fedora28_knot-dns" do |machine|
......
......@@ -4,7 +4,7 @@
Vagrant.configure(2) do |config|
config.vm.box = "generic/fedora29"
config.vm.box = "fedora/29-cloud-base"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.define "fedora29_knot-dns" do |machine|
......
......@@ -27,6 +27,10 @@ cd "$distro"
vagrant destroy -f &>/dev/null
vagrant up
ret=$?
if [ $ret -ne 0 ]; then
# workaround for weird behaviour with fedora/29-cloud-base boxes
vagrant provision
ret=$?
fi
vagrant destroy -f &>/dev/null
exit $ret
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment