Skip to content

Commit

Permalink
Merge pull request #2742 from ryansb/FedoraDetection
Browse files Browse the repository at this point in the history
Correctly detect fedora 19 and 20
  • Loading branch information
mitchellh committed Jan 2, 2014
2 parents b5c2a8e + 23ce05d commit 5843c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/guests/fedora/guest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module VagrantPlugins
module GuestFedora
class Guest < Vagrant.plugin("2", :guest)
def detect?(machine)
machine.communicate.test("grep 'Fedora release 1[678]' /etc/redhat-release")
machine.communicate.test("grep 'Fedora release [12][67890]' /etc/redhat-release")
end
end
end
Expand Down

0 comments on commit 5843c86

Please sign in to comment.