Skip to content

Commit

Permalink
enhance: add fedora 41 (40, with provision to upgrade to 41 since the…
Browse files Browse the repository at this point in the history
…re no image so far on vagrant cloud) (#3328)
  • Loading branch information
LaurenceJJones authored Nov 13, 2024
1 parent 4be84b8 commit b3810c7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/ansible/vagrant/fedora-41/Vagrantfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# frozen_string_literal: true

Vagrant.configure('2') do |config|
config.vm.box = "fedora/40-cloud-base"
config.vm.provision "shell", inline: <<-SHELL
SHELL
config.vm.provision "shell" do |s|
s.inline = "sudo dnf upgrade --refresh -y && sudo dnf install dnf-plugin-system-upgrade -y && sudo dnf system-upgrade download --releasever=41 -y && sudo dnf system-upgrade reboot -y"
end
end

common = '../common'
load common if File.exist?(common)
9 changes: 9 additions & 0 deletions test/ansible/vagrant/fedora-41/skip
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

die() {
echo "$@" >&2
exit 1
}

[ "${DB_BACKEND}" = "mysql" ] && die "mysql role does not support this distribution"
exit 0

0 comments on commit b3810c7

Please sign in to comment.